mludvig / aws-ethereum-miner

CloudFormation template for mining Ethereum crypto currency on AWS
270 stars 152 forks source link

Not able to launch #3

Closed deepakagra closed 3 years ago

deepakagra commented 3 years ago

Got following error in cloudformation:

The following resource(s) failed to create: [MinerAsg]. Rollback requested by user. Logicalid: eth-mining

One or more security groups in the launch template are not linked to the VPCs configured in the Auto Scaling group (Service: AmazonAutoScaling; Status Code: 400; Error Code: ValidationError; Request ID: 86ca4481-6267-4aa0-89df-3258e20bf110; Proxy: null) LogicalId: MinerAsg

deepakagra commented 3 years ago

Issue was that if suppose you have multiple VPC (and each has its own subnets) in your account. Now, after selecting a VPC during cloud formation launch; it shows up ALL subnets in second drop down ( and not subnets only from the VPC selected ). So, make sure we select only those subnets which belong to vpc selected.