/tutorial-spring-docker-terraform-aws

Projeto criado para tutorial ensinando como deployar uma aplicação Java e Spring em um container Amazon EC2 com Docker

Primary LanguageJavaMIT LicenseMIT

Tutorial ContactBook

A project to teach how to provision an aws infraestructure and deploy an SpringBoot Application in an Amazon EC2 machine using Terraform and Docker.

Level 1

This level will teach you how to :

  • Run a Docker container with Postgres using a docker-compose file
  • Connect your springboot app with Postgres database container.

Level 2

This level will teach you how to :

  • run a Docker build your application image
  • configure your image to docker-compose file
  • run your image on a docker container
  • Access your application using swagger and postman
  • Upload your api image to dockerhub

Level 3

This level will teach you:

  • Understanding AWS basic infraestructure
  • Create IAM user
  • Configure aws cli profile
  • Create terraform files needed
  • Create ssh key pair
  • Configure userdata template file
  • Terraform commands
  • Access ec2 host from local machine
  • Access your api running on ec2 using swagger and postman