Uploaded image for project: 'Ansible Cloud Automation'
  1. Ansible Cloud Automation
  2. ACA-1959

Add a role to cloud.aws_ops to create an EC2 instance

XMLWordPrintable

    • Icon: Task Task
    • Resolution: Unresolved
    • Icon: Major Major
    • None
    • None
    • cloud-content
    • None
    • False
    • Hide

      None

      Show
      None
    • False
    • Hide
      •  The role includes argument specification validation.
      •  Only modules from the `amazon.aws` collection are used in the role.
      •  All user-configurable arguments are clearly documented.
      •  A README file is provided with instructions on how to use the role.
      •  Integration tests are implemented for the role.
      •  The role passes `ansible-lint` checks.
      Show
      A role for creating EC2 is available in  https://github.com/redhat-cop/cloud.aws_ops/  The role includes argument specification validation.  Only modules from the `amazon.aws` collection are used in the role.  All user-configurable arguments are clearly documented.  A README file is provided with instructions on how to use the role.  Integration tests are implemented for the role.  The role passes `ansible-lint` checks.
    • ANSTRAT-960 - Ensure MVP AAP Portal Experience ready out of the box
    • 3
    • Cloud Content Sprint 45

      Users can specify AWS region which is applied to all tasks
      Use modules from the `amazon.aws` collection to create a role that creates an EC2 instance. All user-provided arguments must be validated through the `meta/argument_specs.yml` file.

       

      1. Create ec2 instance
        • User specifies Instance name
        • User specifies Instance type
        • User specifies AMI ID
        • User specifies subnet id
        • User specifies key name
        • User specifies vpc subnet id
        • User specifies tags
        • Boolean: User chooses to wait for boot

         2. Optional: 

            User can choose to create network objects for external access. This should be an option that the user provides.

          Optional:

        • User can choose to add an EIP. If they do
          • Create EIP
          • Associate this EIP with ec2 instance created
        • Create a security group for external access
          • User can specify SG name
          • User can specify description
          • Use the VPC specified by the user
        • Add rules security group for external access
          • User can specify ports & protocol
            • Default should be SSH
          • Use 0.0.0.0/0 for cidr
        • Create Internet Gateway for external access and modify the route table to route traffic destined for the internet (0.0.0.0/0) through the ** Internet Gateway.

         3. Print out the ec2 instance information

              mandkulk@redhat.com Mandar Kulkarni
              gosriniv@redhat.com Gomathi selvi Srinivasan
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

                Created:
                Updated: