Search icon
Subscription
0
Cart icon
Close icon
You have no products in your basket yet
Arrow left icon
All Products
Best Sellers
New Releases
Books
Videos
Audiobooks
Learning Hub
Newsletters
Free Learning
Arrow right icon
AWS Certified Solutions Architect ??? Associate Guide

You're reading from  AWS Certified Solutions Architect ??? Associate Guide

Product type Book
Published in Oct 2018
Publisher Packt
ISBN-13 9781789130669
Pages 626 pages
Edition 1st Edition
Languages
Authors (2):
Gabriel Ramirez Gabriel Ramirez
Profile icon Gabriel Ramirez
Stuart Scott Stuart Scott
Profile icon Stuart Scott
View More author details

Table of Contents (26) Chapters

Preface 1. Introducing Amazon Web Services 2. AWS Global Infrastructure Overview 3. Elasticity and Scalability Concepts 4. Hybrid Cloud Architectures 5. Resilient Patterns 6. Event Driven and Stateless Architectures 7. Integrating Application Services 8. Disaster Recovery Strategies 9. Storage Options 10. Matching Supply and Demand 11. Introducing Amazon Elastic MapReduce 12. Web Scale Applications 13. Understanding Access Control 14. Encryption and Key Management 15. An Overview of Security and Compliance Services 16. AWS Security Best Practices 17. Web Application Security 18. Cost Effective Resources 19. Working with Infrastructure as Code 20. Automation with AWS 21. Introduction to the DevOps practice in AWS 22. Mock Test 1
23. Mock Test 2
24. Assessment 25. Another Book You May Enjoy

Scaling the compute layer

  1. Let's create a second instance with a larger capacity (t2.large), as follows:
aws ec2 run-instances --image-id ami-14c5486b --key-name BookShelfApp --instance-type t2.large --security-group-ids sg-bddd92cb --user-data file://bootstrap.txt
Store the results on a spreadsheet.
  1. To switch traffic over to our larger instance, we will implement the floating IP cloud pattern (http://en.clouddesignpattern.org/index.php/CDP:Floating_IP_Pattern) by reassociating the virtual IP from the active to the passive instance, as shown in the following diagram:
  1. Issue the following command by using your new instance ID and the previous IP's ID allocation:
aws ec2 associate-address --instance-id i-096a8c337e10e9edf --allocation-id eipalloc-d300d8db
  1. Perform the load test again and write down the results, in order to establish a quantitative benchmark, as follows...
lock icon The rest of the chapter is locked
Register for a free Packt account to unlock a world of extra content!
A free Packt account unlocks extra newsletters, articles, discounted offers, and much more. Start advancing your knowledge today.
Unlock this book and the full library FREE for 7 days
Get unlimited access to 7000+ expert-authored eBooks and videos courses covering every tech area you can think of
Renews at $15.99/month. Cancel anytime}