Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/jorgechato/platform-tf
Terraform project to deploy the jorgechato.com and whereisjorge.today ecosystem in AWS
https://github.com/jorgechato/platform-tf
aws public terraform
Last synced: 27 days ago
JSON representation
Terraform project to deploy the jorgechato.com and whereisjorge.today ecosystem in AWS
- Host: GitHub
- URL: https://github.com/jorgechato/platform-tf
- Owner: jorgechato
- Created: 2019-08-13T17:43:02.000Z (over 5 years ago)
- Default Branch: master
- Last Pushed: 2021-02-02T18:06:10.000Z (almost 4 years ago)
- Last Synced: 2024-11-07T10:45:59.642Z (3 months ago)
- Topics: aws, public, terraform
- Language: HCL
- Homepage: https://whatisjorgedoing.today/the-cheapest-server-ever
- Size: 75.2 KB
- Stars: 0
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# Terraform
This repository host a `terraform` project to deploy the
[jorgechato.com](https://jorgechato.com) and
[whereisjorge.today](https://whereisjorge.today) ecosystem in AWS.```zsh
.
├── modules
│ ├── cluster # ecs
│ ├── instance # instance + iam + sg
│ ├── network # eip + vpc + subnets
│ └── storage # s3 + ebs
└── platform
└── eu-west-1
└── pro
```### Prepare
We will need a S3 bucket already created to use it as `remote_source` for our
Terraform backend. A hand make task is not an option we want to automate
everything with Terraform. From the root of the repository let's create
a private S3 bucket.Since I am working alone and in a small project, blocking the `async` access in
the bucket is not needed.```zsh
$ terraform apply
```### Run
`eu-west-1` folder is a representation of the instance **zone** I am using.
`pro` is the only environment I am hosting. I don't have millions to spend on
servers (just yet) so let's be crazy and develop in the production environment.```zsh
$ cd platform/eu-west-1/pro$ terraform init
$ terraform apply
```