Config.Tips

AWS CloudFormation

"AWS CloudFormation enables you to define and provision AWS infrastructure and resources in a declarative manner. It allows you to use templates to describe the desired state of your infrastructure and automates the process of creating and managing those resources. These templates support a wide range of AWS resources, including Amazon EC2, AWS Elastic Beanstalk and much more"

cloudformation-template.yml
AWSTemplateFormatVersion: '2010-09-09'
Description: Simple EC2 Instance Example

Resources:
  MyEC2Instance:
    Type: AWS::EC2::Instance
    Properties:
      InstanceType: t2.micro
      ImageId: ami-12345678
      KeyName: my-key-pair
      SecurityGroups:
        - my-security-group

Tips