Sunday, November 15, 2020

Coursera Case Study On AWS

 

AMAZON WEB SERVICES

In 2006, Amazon Web Services (AWS) began offering IT infrastructure services to businesses like web services — now commonly known as cloud computing. One of the key benefits of cloud computing is the opportunity to replace upfront capital infrastructure expenses with low variable costs that scale with your business. With the cloud, businesses no longer need to plan for and procure servers and other IT infrastructure weeks or months in advance. Instead, they can instantly spin up hundreds or thousands of servers in minutes and deliver results faster.












Today, AWS provides a highly reliable, scalable, low-cost infrastructure platform in the cloud that powers hundreds of thousands of businesses in 190 countries around the world.


CHALLENGED BY LIMITED BUILD CAPACITY

Coursera’s website, a single-page application written in JavaScript, is hosted on Amazon Simple Storage Service (Amazon S3) and served using Amazon CloudFront.

USING AWS CODE BUILD TO BUILD AND DEPLOY JAVASCRIPT

Coursera chose to use AWS CodeBuild to build its JavaScript applications because it wanted a managed build service that could scale automatically and process multiple builds concurrently. “It took us less than two weeks to set up our containers to run on AWS CodeBuild,” says Kane. “Now we can run 50 or 60 jobs in parallel, and the build time is only the time it takes for the longest application to build.”

Image for post

INCREASED SPEED, SCALABILITY, AND COST SAVINGS USING AWS CODE BUILD

By using AWS CodeBuild, Coursera has reduced its web-application build times by 83 percent while achieving significant cost savings. “With AWS CodeBuild, our application build now takes about 10 minutes; using Jenkins it used to take up to an hour,” says Kane. “To get the same performance on Jenkins would cost four times as much because we would need to spin up 50 Jenkins instances to have the builds finish that quickly.”

Image for post
  • Runs 300–500 builds a day
  • Runs multiple jobs concurrently
  • Able to scale continuously for build processing
  • Creates build environments

SERVICES USED

  • AWS CodeBuild
  • Amazon ECS
  • Amazon S3
  • Amazon CloudFront
  • Amazon ECR
  • Amazon EC2


Benefits

Serverless option

ECS supports Fargate to provide serverless compute for containers. Fargate removes the need to provision and manage servers, lets you specify and pay for resources per application, and improves security through application isolation by design.

The application first with Capacity Providers

ECS capacity providers help you to focus on building and managing applications instead of infrastructure. With capacity provider, the demands of your application determine the compute capacity allocated to it and you get the flexibility to use a mix of EC2 and Fargate with Spot and On-Demand pricing options for your applications.

Performance at scale

ECS powers several key services at Amazon and is built on technology developed from many years of experience running highly scalable services. You can rapidly launch thousands of containers using ECS with no additional complexity.

Secure

ECS launches your containers in your own Amazon VPC, allowing you to use your VPC security groups and network ACLs. No computing resources are shared with other customers. You can also assign granular access permissions for each of your containers using IAM to restrict access to each service and what resources a container can access. This high level of isolation helps you use ECS to build highly secure applications.

Reliable

ECS runs on the best global infrastructure with 69 Availability Zones (AZ) across 22 Regions. AWS provides >2x more regions with multiple availability zones than the next largest cloud provider (22 vs. 8). ECS is backed by the AWS Compute SLA which guarantees a Monthly Uptime Percentage of at least 99.99% for ECS giving you the ease of mind.

Optimized for cost

With ECS, you can use Fargate Spot tasks or EC2 Spot instances to realize up to 90% discounts compared to on-demand prices for running stateless and fault-tolerant applications. You can use a savings plan and realize up to 50% discount for persistent workloads. You can easily run ECS clusters at scale by mixing Spot Instances with On-Demand and Reserved Instances.


Thank you for reading ...

No comments:

Post a Comment