Skip to content

Conversation

@setrofim
Copy link
Collaborator

This re-writes the AWS depoyment to use auto-scaling groups behind load balancers rather than fixed instances. This also improves the security of the deployment by moving EC2 and RDS instances into private subnets. Finally, the service is now publically accessible via a fixed domain name.

v3 has been deprecated, causing integration-tests run to fail.

Signed-off-by: Sergei Trofimov <[email protected]>
Add the missing psycopg2 (Postres client lib) to requirements.txt for
the aws deployment Python enviroment.

Signed-off-by: Sergei Trofimov <[email protected]>
Copy link
Collaborator

@yogeshbdeshpande yogeshbdeshpande left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks for these changes, will continue reviewing the same -today/tomorrow!

@setrofim setrofim force-pushed the aws branch 2 times, most recently from 32049ab to 218d795 Compare February 11, 2025 09:00
Copy link
Contributor

@thomas-fossati thomas-fossati left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

An impressive amount of work, thanks!

I have a few easy questions inline.

protocol: https
cert: /opt/veraison/certs/provisioning.crt
cert-key: /opt/veraison/certs/provisioning.key
protocol: http
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Just so that I understand: we do HTTP here because TLS termination is on the load balancers?

Copy link
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Yes, that is correct.

@setrofim setrofim force-pushed the aws branch 3 times, most recently from 3e3a3ee to 729c6df Compare February 12, 2025 14:34
Copy link
Collaborator

@yogeshbdeshpande yogeshbdeshpande left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Put some minor questions and .nits but in general LGTM! You can submit, addressing the minor points!

Restructure AWS deployment to use load balancers and auto-scaled service
instances.

- This deployment requires a domain to be registered in Route53.
- TLS is relegated to the load balancers. This requires for a
  certificate associate with the registered domain to be created
  inside ACM.
- RDS and EC2 instances now run inside private subnets and are not
  directly accessible by the outside world. A sentinel instance exists
  to provide indirect access, e.g. when setting up the databases.

Signed-off-by: Sergei Trofimov <[email protected]>
@setrofim setrofim merged commit 733d0ba into main Feb 13, 2025
9 checks passed
@setrofim setrofim deleted the aws branch February 13, 2025 11:36
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants