Skip to content

anuragkapur/aws-infra-as-code

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

13 Commits
 
 
 
 
 
 

Repository files navigation

AWS - Infra as code

This repository contains infrastructure code used to manage my AWS account.

Pre-requisites

Infra setup using terraform

  1. Create new AWS account
  2. Create new IAM user with admin privileges and add the access key ID and secret access key to ~/.aws/credentials
  3. Ensure there are no AWS_ACCESS_KEY or AWS_SECRET_KEY env variables defined in your local env
  4. Provision dev environment
  5. Review configuration variables in main.tf, especially, aws_credenital_profile variable
  6. Provision infrastructure
    cd terraform/environments/dev
    terraform init
    terraform apply

Local client setup

  1. Configure the path of the kubeconfig_dev-eks-cluster in the KUBECONFIG env variable for your local environment to be able to communicate with the EKS cluster using kubectl
  2. Verify local kubectl setup using the command below
    $ kb get nodes

ToDos

  • Monitoring and alerting
    • auto-scaling notifications

About

⚙️ Infrastructure code for my AWS account

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages