29 lines
1.2 KiB
Markdown
29 lines
1.2 KiB
Markdown
Follow this tutorial to do python with asgi
|
||
Try with native python deployment + docker
|
||
<https://towardsdatascience.com/building-web-app-for-computer-vision-model-deploying-to-production-in-10-minutes-a-detailed-ec6ac52ec7e4>
|
||
|
||
|
||
Try with single instance - does it use the DB settings in .ebextensions?
|
||
Have documented options for
|
||
- Single instance
|
||
- Single instance with DB
|
||
- Load balanced instance
|
||
|
||
|
||
Create an RDS instance, ensure the default SG is allowed on ingress to the DB.
|
||
Use this SG to define an ebextensions file
|
||
<https://docs.aws.amazon.com/elasticbeanstalk/latest/dg/rds-external-defaultvpc.html>
|
||
<https://github.com/awsdocs/elastic-beanstalk-samples/blob/master/configuration-files/aws-provided/security-configuration/securitygroup-addexisting.config>
|
||
|
||
|
||
Using a custom VPC created yourself (how it's done now): <https://docs.aws.amazon.com/elasticbeanstalk/latest/dg/vpc.html>
|
||
Allows complete control over the security settings.
|
||
|
||
Q? If we use `--single` it will only create:
|
||
Instance subnets – One of the public subnets
|
||
Instance security groups – Add the default security group
|
||
|
||
Will it ignore the loadbalancer + autoscaling settings even if we define them in 07.config?
|
||
|
||
|