changing minsize to 2
This commit is contained in:
@@ -6,3 +6,5 @@ option_settings:
|
|||||||
ELBSubnets: "subnet-051fe56dc37d8396d,subnet-0ea9f2f165a57be27,subnet-09b28d722f41b2dde"
|
ELBSubnets: "subnet-051fe56dc37d8396d,subnet-0ea9f2f165a57be27,subnet-09b28d722f41b2dde"
|
||||||
aws:autoscaling:launchconfiguration:
|
aws:autoscaling:launchconfiguration:
|
||||||
SecurityGroups: sg-0d339673ef68988a4
|
SecurityGroups: sg-0d339673ef68988a4
|
||||||
|
aws:autoscaling:asg:
|
||||||
|
MinSize: 2
|
||||||
|
|||||||
18
tempnotes.md
18
tempnotes.md
@@ -143,8 +143,6 @@ Default ports:
|
|||||||
| SQL Server | 1433 |
|
| SQL Server | 1433 |
|
||||||
| DynamoDB | 8000 |
|
| DynamoDB | 8000 |
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
## Work Commands
|
## Work Commands
|
||||||
|
|
||||||
### tags
|
### tags
|
||||||
@@ -169,8 +167,22 @@ Default ports:
|
|||||||
|
|
||||||
List of all RDS Engines available under "Engine" header: <https://docs.aws.amazon.com/AmazonRDS/latest/APIReference/API_CreateDBInstance.html>.
|
List of all RDS Engines available under "Engine" header: <https://docs.aws.amazon.com/AmazonRDS/latest/APIReference/API_CreateDBInstance.html>.
|
||||||
|
|
||||||
### descrive-stack-resources
|
### describe-stack-resources
|
||||||
|
|
||||||
Will print a json list of all resources in the stack
|
Will print a json list of all resources in the stack
|
||||||
|
|
||||||
`aws --profile admin cloudformation describe-stack-resources --stack-name strapi-vpc`
|
`aws --profile admin cloudformation describe-stack-resources --stack-name strapi-vpc`
|
||||||
|
|
||||||
|
Using `jq` for formatting:
|
||||||
|
|
||||||
|
`aws --profile admin cloudformation describe-stack-resources --stack-name strapi-vpc | jq -r '.StackResources[] | .ResourceType + ": " + .PhysicalResourceId'`
|
||||||
|
|
||||||
|
Good repo for examples: <https://github.com/awsdocs/elastic-beanstalk-samples>
|
||||||
|
|
||||||
|
Doc:
|
||||||
|
Add the ELB subnets to the VPC config
|
||||||
|
|
||||||
|
Create another custom security group for the EC2 instance - should be private
|
||||||
|
autoscaling should have current public security group
|
||||||
|
|
||||||
|
Load balancer should have the current subnets
|
||||||
|
|||||||
Reference in New Issue
Block a user