amazon-ebs

How do you import Big Data public data sets into AWS?

二次信任 提交于 2019-12-04 12:31:38
Loading any of Amazon's listed public data sets (http://aws.amazon.com/datasets) would take a lot of resources and bandwidth. What's the best way to import them into AWS so you start working with them quickly? bardiir You will need to create a new EBS Instance using the Snapshot-ID for the public dataset. That way you won't need to pay for transfer. But be careful, some data sets are only available in one region, most likely denoted by a note similar to this. You should register your EC2 instance in the same region then. These datasets are hosted in the us-east-1 region. If you process these

Best way to load php classes in EC2 - InstanceStore, EBS or S3?

梦想的初衷 提交于 2019-12-04 09:45:04
问题 What is the best way to load PHP classes in EC2 in the following scenario (#s are for illustrative purposes)? -> 100 EC2 instances running apache and APC -> 100 php classes loaded per request (via __autoload) -> 100 code changes per day between the classes (many of the classes contain auto-generated code that are periodically updated via cron). From what I gather, there are 3 ways to load the php class files in EC2: A. InstanceStore - The local (virtual) hard drive of an EC2 instance -> Code

Automatically mount an EBS volume upon starting an Amazon EC2 Linux instance

霸气de小男生 提交于 2019-12-04 07:33:44
问题 I have an EBS volume (e.g. /dev/sdf ) that has been attached to an EC2 instance (which boots from a different EBS volume), and I have mounted the volume (through mount /dev/sdf /data ). When I stop and start again the instance, the volume is still attached but no longer mounted, and I have to manually mount it again. Is there a way to make the volume /dev/sdf automatically mounted to /data upon starting the instance? 回答1: Make an entry to /etc/fstab Entry would be like: /dev/sdf /data ext3

In Amazon EC2, how do I copy a EBS volume to another user?

岁酱吖の 提交于 2019-12-04 06:44:33
I have created an amazon EBS volume using my amazon credentials. My customer gave me his customer credentials so that I create for him an EC2 machinge with the disk I created attached, how do I do that? I'm using the web console, if it matters ================== Let me add that when I do create volume in my customer's account and put my snapshot id as snapshot I get "snapshot snap-1xyz1234" does not exist. Need I somehow tell that the snaphsot is another user's flybywire This is possible. Look for "Modifying Snapshot Permissions" in the official docs . The best way may be to start up an EC2

What root-device to use for a new EC2 instance?

◇◆丶佛笑我妖孽 提交于 2019-12-04 03:03:27
I'm trying to get started with Amazon's EC2. I have to choose an image (AMI) to start with. I've settled on using the official Ubuntu AMI, but I have two options for the root store - "instant" or "ebs". (See this page ). Being new to AWS, I'm not sure I really understand the difference. What do the two options mean, and what are the pros/cons of each? I recommend EBS, but it really depends on your scenario. Our company uses EBS specifically for the following reasons (ripped off from http://LabSlice.com/FAQ at the bottom): "The EBS-backed machines are faster to load, can be stopped and can be

How do I save an AMI to a S3 bucket?

五迷三道 提交于 2019-12-03 23:56:12
I've created an AMI(EBS AMI) using the Amazon AWS console. That AMI has 2 snapshots attached to it. Now I want to backup that AMI to a S3 bucket. Is this possible? I actually need to do this to be able to then move that AMI to a bucket in a different region and register that AMI for use in that different region. Any clues? Update My initial answer still applies concerning the question as such (see below), however, given you actually need to do this to be able to then move that AMI to [...] a different region , you will be pleased that AWS has just released Cross Region EC2 AMI Copy to address

Script to Format and Mount all available instance store devices

…衆ロ難τιáo~ 提交于 2019-12-03 15:40:47
Amazon provides instance store for EC2 instances. If you use your own AMI, these are not formatted or mounted automatically for you. You need to manually format and mount them. The available devices are listed here and vary based on type of instance. For example an m1.small will have different available instance store devices than c1.xlarge. I'm looking for a script which Detects what the instance type is. Perhaps by using curl -s http://169.254.169.254/latest/meta-data/instance-type Formats and mounts all devices which are available for that instance type but have not yet been formatted

How to scale MongoDB?

我怕爱的太早我们不能终老 提交于 2019-12-03 13:29:43
问题 I know that MongoDB can scale vertically. What about if I am running out of disk? I am currently using EC2 with EBS. As you know, I have to assign EBS for a fixed size. What if the MongoDB growth bigger than the EBS size? Do I have to create a larger EBS and Copy & Paste the files? Or shall we start more MongoDB instance and each connect to different EBS disk? In such case, I could connect to a different instance for different databases. 回答1: If you're running out of disk, you obviously need

Differences between Amazon Elastic Block Storage (EBS) and Microsoft Azure Drives

余生长醉 提交于 2019-12-03 12:54:12
I've been looking at using either Amazon EC2 or Microsoft Azure to host a new project, and plan on using either Amazon EBS or Microsoft Azure Drives to store the files used to run an ASP.NET website. To my knowledge these two technologies are very similar and both provide a virtual hard drive that is backed by cloud storage ( Amazon S3 or Azure Blobs ). With the recent outage of EC2 and EBS (See Post Mortem ) I'd like to know more about how EBS compares to Azure drives. Specifically: I know Azure Drives can be mounted as read/write on a single instance or as read-only on multiple instances. Is

Backup solutions for AWS EC2 instances [closed]

隐身守侯 提交于 2019-12-03 09:38:47
问题 Closed. This question is off-topic. It is not currently accepting answers. Want to improve this question? Update the question so it's on-topic for Stack Overflow. Closed last year . I'm looking for a backup solution for Amazon EC2 instances. I found this: http://www.n2ws.com and I wanted to know if there were other ones. Thank you PS: It's possible to automatically backup RDS databases using Amazon solution but there isn't anything for EC2 instances... Is there? 回答1: I've been using Skeddly