Aug
15
Using AWS Autoscaling with Spot Instances
The goal:
You have AWS load-balancer with spot-instances. You need the engine starting spot instances automatically when existing ones die.
How to mount EBS volume into EC2 Ubuntu Instance
First see if it is attached with:
>> sudo fdisk -l
Disk /dev/xvdf: 10.7 GB, 10737418240 bytes
Then format it (if you haven't already done it)
>> sudo mkfs -t ext4 /dev/xvdf
Create dir where it will be mounted:
>>mkdir /mnt
That's it you can mount it:
>>sudo mount /dev/xvdf /mnt
Check if it