Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

start of new version #2

Open
wants to merge 12 commits into
base: main
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

4 changes: 4 additions & 0 deletions environments/swarms-aws-agent-api/dev/us-east-1/Makefile
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
doit :
tofu init
tofu plan
tofu apply -auto-approve
Original file line number Diff line number Diff line change
@@ -1,12 +1,22 @@
# Plan
## Phase 1

0. create standard vpc with a private network to host ec2,
this uses a natgw that costs money bhttps://aws.amazon.com/vpc/pricing/
0.45 so we will put the intances in public for now and use security groups to limit access.

1. create minimal ec2 instance in machine_image

terraform (later packer) for ubuntu python uvicorn fastapi nginx systemd server with custom git modules

2. create minimal ec2 ami from instance in machine_image
3. create autoscaling_group of size 1 for image
4. create application_load_balancer
5. create dns_entry
6. create cognito_user_pool for login
4. create application load balancer

send users back to server via sticky sessions or some id.

5. create dns_entry
6. create cognito user pool for login
7. create work_queue
8. create lambda_workers on queue
8. create lambda_workers on queue
9. create resource_launchers to create new resources.

Original file line number Diff line number Diff line change
@@ -1 +1,3 @@
application_load_balancer

https://github.com/terraform-aws-modules/terraform-aws-alb.git
Loading
Loading