Skip to content

brenoma/trail-devops-ascan

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

9 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Trail DevOps Ascan

Sumary

Trail DevOps Ascan

This is an open project to conclude a trail for an Intern formation at Instituto Altântico.

About the project

This project is a terraform application which uses AWS to create an instance of nginx using EC2 T2.Micro which is eligible for free tier. Providing an infrastructure.

Project achitecture

Technologies

  • Terraform
  • EC2 Instance
  • AWS IAM

How to Start

Initialize terraform project

The first step is initialize terraform project:

$ terraform init

Creating IAM user on your AWS

You will need to create an IAM account on AWS in order to run terraform plan. See this guide.

Getting Access key and secret keys

Guide

Environment variables

Variable Description
AWS_ACCESS_KEY Long-term credentials for an IAM user
AWS_SECRET_KEY Long-term credentials for an IAM user
retention_days Time that logs will be retained on AWS
INSTANCE_NAME Name of the EC2 instance
prefix Prefix to organize names on AWS
PUBLIC_KEY_SSH Key to connect to instance with SSH
EC2_USER Name of the user that will be created on your instance
PRIVATE_KEY_PATH Path where your SSH private key is stored





Breno Araripe

"Some people feel the rain. Others just get wet."

GitHub Badge LinkedIn Badge

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published