xavier-thomas / EC2-Cloud-Miner

A Cloudformation template to mine cryptocurrency on AWS EC2
MIT License
6 stars 5 forks source link

Multiple create ec2 #1

Closed kanlicali closed 2 years ago

kanlicali commented 6 years ago

hello, how can I start multiple different instances

DigitalResonance commented 6 years ago

Hi kanlicali, since we are using the launch configuration of Autoscaling groups, we can only have one primary instance type.

Usually I start multiple stacks from cloudformation using this template. eg : cloudformation stack A : mining xmr using 4 x m5.xlarge cloudformation stack A : mining bcn using 8 x c5.xlarge ...

If you want to start different instance types within the same cloudformation stack, you will need to modify the cloudformation template to use AWS::EC2::SpotFleet instead of AWS::AutoScaling::LaunchConfiguration and AWS::AutoScaling::AutoScalingGroup

Please let me know if you have any other questions.

kanlicali commented 6 years ago

Hello there, Thank you very much for your reply. But what I plan to do is, Miner settings are fixed, Xmr will be selected, mail will be entered. But I will choose more than one machine.

cloudformation

https://imgur.com/a/BLoty

kanlicali commented 6 years ago

I also think that I will add t2 unlimited option