- User Terraform to create an environment on AWS.
- Use Ansible to install and configure any service on your servers.
- Create a VPC with a public subnet and a privet subnet.
- Create Two EC2:
- First: Deploy any application that uses any DB of your choice.
- Second: Use it as your DB server. It can't be accessed from public internet
- Create any other needed resources.
- Database server can't be accessed from public internet.
- Don't create any AWS resource manually.
All Code will be delivered in a github/bitbucket repo.