From the course: AWS Infrastructure as Code for Software Developers

Unlock the full course today

Join today to access over 22,600 courses taught by industry experts or purchase this course individually.

Auto Scaling and server configuration

Auto Scaling and server configuration - Amazon Web Services (AWS) Tutorial

From the course: AWS Infrastructure as Code for Software Developers

Start my 1-month free trial

Auto Scaling and server configuration

- [Instructor] As we keep making progress building on our infrastructure, now it's time to consider adding our load balancer and web servers. This is where we stand right now. We have our VPC. We created our subnets. We have an Internet gateway attached, and we have NAT gateways to provide Internet access to the private subnets. We're going to deploy to our web servers inside Auto Scaling groups, and they're going to be in the private subnets. Let's get that done first, and then we'll work on the load balancer. Here we are in our Cloud9 IDE. I'm going to paste some code, and then we're going to discuss it. Here we have our AutoScalingGroup we define a name for it, we're going to call it ASG for this purpose. We're going to use the VPC variable that we created up here on line 10, and we're going to select an instance. And in this case we can specify the family which is BURSTABLE2. That will be a T2, and the…

Contents