Giter Club home page Giter Club logo

aws-workout's Introduction

πŸ‘¨β€πŸŽ“ AWS Workout πŸ‘¨β€πŸŽ“

Small and Quick Hands-on on AWS basic principles

This repository contains a set of workouts to train yourself on AWS services, using CDK or Terraform IAC frameworks.

πŸ› Tutorials organisation πŸ›

I have grouped Workouts by knowledge categories:

  • Networking: 1-networking (VPC, subnets, security groups, peering, dns, NAT gateway, VPC endpoints...)
  • Computing: 2-computing (EC2, ECS, Lambdas, ALB, Auto-scaling)
  • Storing: 3-storing (S3, RDS, Dynamodb)
  • Protecting: πŸ•° Soon...stay tuned (KMS, S3, ACM)
  • Publishing: πŸ•° Soon...stay tuned (CloudFront, pre-signed URL, OAI)
  • Orchestrating: πŸ•° Soon...stay tuned (Step Functions)

In each knowledge area, workouts are ordered by difficulty. Example:

  • 101-basic-vpc
  • 102-basic-subnets
  • 103-vpc-default-route-default-security-group
  • 104-internet-access
  • 105-nat-gateway and so on...

Some workouts rely on previous workouts (dependencies). Provided shell commands to apply/delete workouts automatically verify required dependencies.

Pre-requisites

All workouts have been tested with:

  • AWS CLI 2.2.10
  • Terraform 1.0.2
  • Terragrunt 0.36.1
  • AWS CDK 2.27.0
  • Serverless Framework 2.3.0
  • Mac OS 10.15
  • Ubuntu 20.04 LTS

πŸ”₯πŸ”₯πŸ”₯DISCLAIMERπŸ”₯πŸ”₯πŸ”₯

Many of the resources created by these workouts induce costs. All these workouts execute on YOUR AWS account.

You are responsible to delete workouts and associated resources, services or components at the end of workouts. Otherwise, AWS will bill you...

I highly suggest you creating a budget and budget alerts in your AWS account.
Follow this AWS tutorial

NB: Resources and components created using the provided stacks are tagged with a Purpose Tag. You will be able to list all resources, using the AWS Tag Manager in AWS Console.
A ./list-resources.sh shell command is also available to list all resources tagged.

LET'S START

πŸš€ Set up your AWS profile πŸš€

First follow this documentation to set up an AWS profile named aws-workout on your computer. All shell commands (Terraform, CDK and tests) provided in these tutorials require this profile.

πŸš€ AWS EC2 key pairs πŸš€

Some workouts will create EC2 VMs that requires SSH key pairs to log-in. Follow this tutorial to create and import a keypair in AWS Key Pair.

πŸš€ How to perform Workouts ? πŸš€

You can perform Workouts with two IAC frameworks:

  • Terraform: you will see basics of Terraform and Terragrunt while learning AWS. See Terraform
  • AWS CDK: you will see basics of CDK while learning AWS. See CDK

These workouts do not intend to show Terraform or CDK best practices.

⚠️ YOU CANNOT SWITCH FROM TERRAFORM TO CDK (and vice versa) ⚠️ There are differences between these two frameworks. For example:

  • Terraform allows modifying default objects (routes...) whereas CDK does not.
  • Terraform provides some syntactical sugar whereas CDK offers L1 constructs (low level), L2 (high order constructs)...
  • Terraform workouts may require states from the previous workouts (stored in Terraform State S3 bucket).
  • CDK workouts may require stack outputs from previous workouts (stored in AWS CloudFormation Stacks). ️

Terraform Workouts

If you want to use TERRAFORM versions, go there πŸ‘‰Terraform Workouts.

CDK Workouts

If you want to use CDK versions, go there πŸ‘‰CDK Workouts.

aws-workout's People

Contributors

guillaumem-theodo 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.