2

Is it possible to attach an EBS drive to a lightsail instance (aside from the one that (appears to be) auto-attached when creating the instance)?

adamM
  • 135
  • 1
  • 5

3 Answers3

3

The way I solved this was to run an ordinary EC2 instance and use NFS to mount a volume from it on my Lightsail instance. I have not tried if EFS works. Be sure to enable VPC peering in the Lightsail account settings. With VPC peering enabled, you can use security groups to allow the private IP of the Lightsail instance to connect to your EC2 instance. For optimal performance, you should launch your EC2 instance in the same availability zone that your Lightsail instance is running in.

You can mount the NFS mount using the "fsc" mount option along with cachefilesd to keep a cache on the Lightsail instance. I don't know how much this improves performance yet.

stefansundin
  • 133
  • 1
  • 1
  • 7
2

As of November 2017, you can now attach up to 15 additional disks to an instance. These are EBS General Purpose SSD (gp2) volumes, priced around $0.10 per GB-month. See Block storage disks in Lightsail and Lightsail block storage features and pricing.

quietmint
  • 207
  • 2
  • 10
0

Not right now. You can get an idea about what you can and can't do from the API reference, specifically the actions list: http://docs.aws.amazon.com/lightsail/2016-11-28/api-reference/API_Operations.html

Sergey Kovalev
  • 353
  • 1
  • 6
  • by saying "not right now", are you implying that it is in the road-map for lightsail? – adamM Dec 13 '16 at 18:26
  • No, I'm not implying that. Also, I don't think there is a roadmap for Lightsail. Chances are Amazon will collect feedback in the next few months and develop most requested features. – Sergey Kovalev Dec 13 '16 at 18:42