Book Image

Learning AWS - Second Edition

By : Aurobindo Sarkar, Amit Shah
Book Image

Learning AWS - Second Edition

By: Aurobindo Sarkar, Amit Shah

Overview of this book

Amazon Web Services (AWS) is the most popular and widely-used cloud platform. Administering and deploying application on AWS makes the applications resilient and robust. The main focus of the book is to cover the basic concepts of cloud-based development followed by running solutions in AWS Cloud, which will help the solutions run at scale. This book not only guides you through the trade-offs and ideas behind efficient cloud applications, but is a comprehensive guide to getting the most out of AWS. In the first section, you will begin by looking at the key concepts of AWS, setting up your AWS account, and operating it. This guide also covers cloud service models, which will help you build highly scalable and secure applications on the AWS platform. We will then dive deep into concepts of cloud computing with S3 storage, RDS and EC2. Next, this book will walk you through VPC, building real-time serverless environments, and deploying serverless APIs with microservices. Finally, this book will teach you to monitor your applications, automate your infrastructure, and deploy with CloudFormation. By the end of this book, you will be well-versed with the various services that AWS provides and will be able to leverage AWS infrastructure to accelerate the development process.
Table of Contents (12 chapters)

Setting up Auto Scaling

This section introduces you to dynamic scaling for your deployed application. As explained, the application will scale out; more EC2 instances will be added or scaled in. That is, the running of EC2 instances will be removed, based on some measurable metric. We will select the metric from a defined set and apply rules so that our Auto Scaling can scale in or out based on these rules.

AWS Auto Scaling construction

To implement AWS Auto Scaling, we will create an Elastic Load Balancer (ELB), a base AMI which will be an EC2 instance running our e-commerce application, a launch configuration (the base AMI to launch in an EC2 instance), CloudWatch alarms to add/remove instances that apply to an Auto Scaling...