EC2¶
We've got an application that requires some compute resources to host it. We don't need much in the way of CPU, RAM or disk. Nor even networking. Our application is extremely simple and low resource. That being said we're going to need two instances for redundancy, as we pointed out above in the load balancer section.
Our EC2 set up, as per the architecture diagram, will be simple:
graph TD
A[Load Balancer] -- TCP/8080 --> B[Server A]
A[Load Balancer] -- TCP/8080 --> C[Server B]
Each server will be just big enough to house our application and nothing more. We're not going for scalability because we're just learning.
Technical Details¶
Name | Description | Size | Root Volume | AMI |
---|---|---|---|---|
meow_1 | Web Server 01 | t2-small | 30GB | ami-0a43280cfb87ffdba |
meow_2 | Web Server 01 | t2-small | 30GB | ami-0a43280cfb87ffdba |
meow_1
¶
Key | Value |
---|---|
key_name | aws_key_pair.httpcats.key_name |
subnet_id | aws_subnet.httpcats-http-az-a.id |
vpc_security_group_ids | aws_security_group.webserver.id |
meow_2
¶
Key | Value |
---|---|
key_name | aws_key_pair.httpcats.key_name |
subnet_id | aws_subnet.httpcats-http-az-b.id |
vpc_security_group_ids | aws_security_group.webserver.id |