Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/ryosukedtomita/quick_ec2
quick start tiny ec2 with terraform
https://github.com/ryosukedtomita/quick_ec2
aws ec2 iac-terraform terraform userdata
Last synced: 15 days ago
JSON representation
quick start tiny ec2 with terraform
- Host: GitHub
- URL: https://github.com/ryosukedtomita/quick_ec2
- Owner: RyosukeDTomita
- License: unlicense
- Created: 2024-09-04T05:22:09.000Z (4 months ago)
- Default Branch: main
- Last Pushed: 2024-09-05T06:00:29.000Z (4 months ago)
- Last Synced: 2024-10-31T19:37:18.952Z (2 months ago)
- Topics: aws, ec2, iac-terraform, terraform, userdata
- Language: HCL
- Homepage:
- Size: 9.77 KB
- Stars: 1
- Watchers: 1
- Forks: 0
- Open Issues: 1
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# Quick start tiny EC2
![un license](https://img.shields.io/github/license/RyosukeDTomita/quick_ec2)
## INDEX
- [ABOUT](#about)
- [ENVIRONMENT](#environment)
- [PREPARING](#preparing)
- [HOW TO USE](#how-to-use)---
## ABOUT
最低限の機能を持つEC2を構築するためのリポジトリです。
- SSMで接続できる
- Apacheが80番ポートで起動している---
## ENVIRONMENT
Apacheをdockerでサービスとして起動してます。
---
## PREPARING
### install terraform
[公式のインストールガイド](https://developer.hashicorp.com/terraform/tutorials/aws-get-started/install-cli)
[Linux版バイナリを取得](https://developer.hashicorp.com/terraform/install)```shell
wget -O- https://apt.releases.hashicorp.com/gpg | sudo gpg --dearmor -o /usr/share/keyrings/hashicorp-archive-keyring.gpg
echo "deb [signed-by=/usr/share/keyrings/hashicorp-archive-keyring.gpg] https://apt.releases.hashicorp.com $(lsb_release -cs) main" | sudo tee /etc/apt/sources.list.d/hashicorp.list
sudo apt update && sudo apt install terraform
```---
## HOW TO USE
### gui(do not use terraform)
read [gui.md](./gui.md)
### terraform
```shell
cd terraform
terraform init
terraform plan
terraform apply
``````shell
curl EC2 IP
```