concept launch configuration in category aws

appears as: A launch configuration, launch configuration, launch configuration
Amazon Web Services in Action, Second Edition

This is an excerpt from Manning's book Amazon Web Services in Action, Second Edition.

Listing 14.3. Configuring an auto-scaling group and a launch configuration
# [...]
LaunchConfiguration:
  Type: 'AWS::AutoScaling::LaunchConfiguration'               #1
  Properties:
    ImageId: 'ami-6057e21a'                                   #2
    InstanceType: 't2.micro'                                  #3
    # [...]
AutoScalingGroup:                                             #4
  Type: 'AWS::AutoScaling::AutoScalingGroup'
  Properties:
    LaunchConfigurationName: !Ref LaunchConfiguration         #5
    DesiredCapacity: 1                                       #6
    MinSize: 1                                               #7
    MaxSize: 1                                               #8
    VPCZoneIdentifier:                                       #9
    - !Ref SubnetA
    - !Ref SubnetB
    HealthCheckGracePeriod: 600
    HealthCheckType: EC2                                     #10
  # [...]
  • A launch configuration contains all information needed to launch an EC2 instance: instance type (size of virtual machine) and image (AMI) to start from.
  • 2.  An auto-scaling group that specifies how many virtual machines need to be running based on the launch configuration.

    Figure 17.2. Auto-scaling consists of an ASG and a launch configuration, launching and terminating uniform virtual machines.
    Learn Amazon Web Services in a Month of Lunches

    This is an excerpt from Manning's book Learn Amazon Web Services in a Month of Lunches.

    You do this by creating a launch configuration, which defines details like which EC2 AMI, instance type, and security group you’d like the auto scaler—when required—to launch. Instructions for how and when to apply capacity changes to your infrastructure are then defined as part of an auto scaling group.

    16.1. Creating a launch configuration

    As I said, the launch configuration defines exactly what gets scaled, so that’s what will come first. On the EC2 dashboard, click Launch Configurations, and then click the blue Create Launch Configuration button.