Giter VIP home page Giter VIP logo

exercise-aws-05's Introduction

DevOps exercise AWS 05: Infrastructure-As-Code

Introduction

AWS resources and infrastructure should always be created using a configuration management system such as Terraform or Cloudformation. This ensures all created AWS resources are tracked and reinstallable. It also encourages sharing and collaboration and can help an infrastructure recover from a disaster.

Exercise

  1. Install one AWS EC2 Linux instance using either Terraform (preferred) or AWS Cloudformation.
  2. Make the instance public available but keep the instance as secure as possible.
  3. Pre-install docker software on the instance. Run the Apache docker image and make the endpoint public available.
  4. Outputs: The configuration code should output the public endpoint of the created service.
  5. Document how to create and how to destroy the AWS resources.

Acceptance Criteria

  • The solution is completely installable using the chosen configuration management system.
  • The Apache Endpoint is callable from the Internet.
  • The solution is as secure as possible.
  • All resources can be cleaned up (destroyed) with the chosen configuration system.

Guidelines/Hints

  • Create the EC2 instance with type t2.micro or t2.nano
  • Use your own private AWS account to test the installation (EC2 instance qualifies for free-tier)
  • Use an official Amazon Linux AMI owned by Amazon.
  • You can either install resources without specifying a specific VPC/subnet OR install resources in a new VPC/subnet created with the configuration management system

How to contribute your solution:

  1. Fork the repo
  2. Commit everything that you do in your fork
  3. Create a pull request with your solution. Your pull request should include all source code which you used to create your solution.
  4. Provide meaningful comments with your commits

exercise-aws-05's People

Watchers

Rico Moorman avatar James Cloos avatar  avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.