Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/eternaltyro/hackney-council
Hackney Council Exercises
https://github.com/eternaltyro/hackney-council
Last synced: about 2 months ago
JSON representation
Hackney Council Exercises
- Host: GitHub
- URL: https://github.com/eternaltyro/hackney-council
- Owner: eternaltyro
- Created: 2024-08-13T08:13:13.000Z (5 months ago)
- Default Branch: main
- Last Pushed: 2024-08-13T09:46:47.000Z (5 months ago)
- Last Synced: 2024-08-13T11:32:46.847Z (5 months ago)
- Language: HCL
- Size: 4.88 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# hackney-council
Hackney Council Exercises
- Create a Terraform module that creates an EC2
- The EC2 should be placed in a subnet provided to the module
- Each EC2 would need an additional EBS volume
- The module should expect
- Instance type (Should be restricted to t3.micro or t3.small)
- AMI
- Root volume size (Should not be greater than 100GB)
- Additional volume size (Should be bigger than 50GB and no bigger than 100GB)
- Subnet for the EC2
- VPC for the EC2
- Tags : The EC2 should be tagged with
- Application name
- Cost code
- Product team
- The EC2 should allow ingress traffic on port 80 from anywhere
- The EC2 should allow ingress traffic on port 22 from IP 10.20.1.1
- The EC2 should allow egress to anywhere on any port
- The module should return the Instance ID and the private IP address of the instance
- Create some Terraform that would use your module to create an EC2 (you can provide dummy values for the Subnet/VPC)
- Output the Instance_ID and Private_IP returned by your module