AWS Training and Certification Module 2 Leveraging Cloud Computing 2018 Amazon

Aws training and certification module 2 leveraging

This preview shows page 77 - 83 out of 133 pages.

AWS Training and Certification Module 2: Leveraging Cloud Computing © 2018 Amazon Web Services, Inc. or its affiliates All rights reserved. 77
Image of page 77
This will work, but there is more we can do to design the system for high performance while still achieving greater cost efficiency. AWS Training and Certification Module 2: Leveraging Cloud Computing © 2018 Amazon Web Services, Inc. or its affiliates All rights reserved. 78
Image of page 78
As mentioned, you can start by moving any static assets from your web app instances to Amazon S3 and then serve those objects via CloudFront . This would include all of your images, videos, CSS, JavaScript files, and any other heavy static content . These files can be served via an S3 origin (more on S3 in the next slide) and then globally cached and distributed via Cloudfront. This will take the load off your web servers and allow you to reduce your footprint in that web tier. AWS Training and Certification Module 2: Leveraging Cloud Computing © 2018 Amazon Web Services, Inc. or its affiliates All rights reserved. 79
Image of page 79
As mentioned before, you can use S3 to lighten the load. What is S3? S3 is cloud object storage for the Internet where files are reachable via a restful URL. Files can be locked down so they are only reachable by a specific IAM user or role, or they can be made public and can be served to public Internet users; this is what you need. It has 11 9s (99.999999999%) of durability what does that mean? S3 ties in tightly with many services that can store and get data from S3 . it is also a great logging endpoint for many of our services such as ELB, CloudTrail, and CloudFront. Data can also be tiered off to Glacier which is our archival storage service at 1 cent /GB / month. Lastly, S3 can be used as the origin for our global CDN, CloudFront. Amazon S3 offers a range of storage classes designed for different use cases, including Amazon S3 Standard for general-purpose storage of frequently accessed data, Amazon S3 Standard - Infrequent Access (Standard - IA) for long-lived, but less frequently accessed data, and Amazon Glacier for long-term archiving. AWS Training and Certification Module 2: Leveraging Cloud Computing © 2018 Amazon Web Services, Inc. or its affiliates All rights reserved. 80
Image of page 80
You can also move things like session information to a NoSQL DB like DynamoDB or to a cache like ElastiCache . For this scenario, you can use DynamoDB for this because there are easy connectors in many of the AWS SDKs. You can also use ElastiCache to store some of your common database query results , which will prevent you from accessing the database too much. This should take a load off of your DB tier. Removing session state from your web/app tier is also very important because it allows you to scale up and down without losing session information when horizontal scaling happens. This is called making your tier “ stateless .” AWS Training and Certification Module 2: Leveraging Cloud Computing © 2018 Amazon Web Services, Inc. or its affiliates All rights reserved. 81
Image of page 81
AWS Training and Certification Module 2: Leveraging Cloud Computing © 2018 Amazon Web Services, Inc. or its affiliates All rights reserved. 82
Image of page 82
Image of page 83

You've reached the end of your free preview.

Want to read all 133 pages?

  • Summer '18
  • Pedi
  • Amazon Web Services, Amazon Elastic Compute Cloud

  • Left Quote Icon

    Student Picture

  • Left Quote Icon

    Student Picture

  • Left Quote Icon

    Student Picture