Skip to Main Content
Implementing AWS: Design, Build, and Manage your Infrastructure
book

Implementing AWS: Design, Build, and Manage your Infrastructure

by Yohan Wadia, Rowan Udell, Lucas Chan, Udita Gupta
January 2019
Intermediate to advanced content levelIntermediate to advanced
690 pages
16h
English
Packt Publishing
Content preview from Implementing AWS: Design, Build, and Manage your Infrastructure

How to do it...

  1. Open up your text editor and create a new CloudFormation template. We're going to start by adding a few Parameters as follows:
      AWSTemplateFormatVersion: '2010-09-09'       Parameters:         AmiId:           Type: AWS::EC2::AMI::Id           Description: AMI ID to launch instances from         VPCID:           Type: AWS::EC2::VPC::Id           Description: VPC where load balancer and instance will launch         SubnetIDs:           Type: List<AWS::EC2::Subnet::Id>           Description: Subnets where load balancer and instance will launch             (pick at least 2)
  1. Let's take a look at a security group we'll apply to a public load balancer:
      ExampleELBSecurityGroup:         Type: AWS::EC2::SecurityGroup         Properties:           GroupDescription: Security Group for example ELB           SecurityGroupIngress:             - IpProtocol: tcp 
Become an O’Reilly member and get unlimited access to this title plus top books and audiobooks from O’Reilly and nearly 200 top publishers, thousands of courses curated by job role, 150+ live events each month,
and much more.
Start your free trial

You might also like

AWS Account Setup Best Practices

AWS Account Setup Best Practices

Chad Smith
AWS Administration Cookbook

AWS Administration Cookbook

Rowan Udell, Lucas Chan

Publisher Resources

ISBN: 9781788835770OtherErrata Page