amazon-ebs

Rewriting Amazon S3 static urls [closed]

只愿长相守 提交于 2019-12-11 03:17:09
问题 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 7 years ago . In the interest of hosting purely static sites from Amazon S3, is the only route to rewrite the URLs and endpoints for accessing it's resources in a friendlier way via a rewrite engine such as any web server? And would it best to host this as an EC2? It seems overkill but wasn't sure if there were alternatives.

Amazon Cloud configuration for Java EE web app with MySQL

社会主义新天地 提交于 2019-12-10 14:47:07
问题 In my work I need to move some existing Enterprise Java applications to AWS. I have gone through many pages on aws.amazon.com and also googled enough. Also, I have tried to go through all the related questions at stackoverflow. All these things made many things clear, however, I am still having some confusion. Here is our application structure: It is a Spring based application which uses Spring MVC as its presentation layer and plain Java Interfaces and Classes for handling business and data

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

こ雲淡風輕ζ 提交于 2019-12-09 10:18:38
问题 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

How to change app on multiple ec2 instances?

拟墨画扇 提交于 2019-12-08 02:45:18
问题 I'm new to AWS. Can anyone point me in the right direction of how to update my app residing on multiple ec2 instances? I found this answer: How do I update multiple EC2 instances that are load-balanced? which points to this article: http://linuxforlovers.wordpress.com/2009/04/11/sharing-amazon-elastic-block-store-among-multiple-instances/ The article has been updated and explains you can boot from EBS-backed AMIs that can have essentially unbounded size as of now. Does this mean instead of

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

元气小坏坏 提交于 2019-12-06 07:55:16
问题 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? 回答1: 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

AWS ec2 root volume increase: Expanding elastic root volume on aws ubuntu instance not working

假如想象 提交于 2019-12-06 07:20:13
问题 I've followed aws doc for expanding elastic root volume and got my root volume size increased from 8 GB to 20 GB, which i confirmed using lsblk . NAME MAJ:MIN RM SIZE RO TYPE MOUNTPOINT xvda 202:0 0 20G 0 disk └─xvda1 202:1 0 8G 0 part / But updated size not reflecting in the df -h command, even after i explicitly resize the device using the sudo resize2fs /dev/xvda1 command as my file system type is ext4 which i checked using sudo file -s /dev/xvd* command. sudo resize2fs /dev/xvda1 command

How to change app on multiple ec2 instances?

半腔热情 提交于 2019-12-06 05:08:44
I'm new to AWS. Can anyone point me in the right direction of how to update my app residing on multiple ec2 instances? I found this answer: How do I update multiple EC2 instances that are load-balanced? which points to this article: http://linuxforlovers.wordpress.com/2009/04/11/sharing-amazon-elastic-block-store-among-multiple-instances/ The article has been updated and explains you can boot from EBS-backed AMIs that can have essentially unbounded size as of now. Does this mean instead of having a ebs instance that I can update with my app, I can load the app on an ec2 instance, create an ami

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

筅森魡賤 提交于 2019-12-06 01:59: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 回答1: This is possible. Look for

Script to Format and Mount all available instance store devices

青春壹個敷衍的年華 提交于 2019-12-05 00:47:48
问题 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

Why can't I see my EBS volume snapshots in S3 from AWS Management Console?

主宰稳场 提交于 2019-12-04 16:27:35
问题 If EBS volume snapshots are stored in S3, then why can't I see them in the AWS Management Console? Am I missing something here? 回答1: EBS snapshots are stored in S3 but not in a user-visible bucket. To view your snapshots use the AWS api or they are in the EC2/Snapshots tab of the AWS Console. Something like: https://console.aws.amazon.com/ec2/home?region=us-east-1#s=Snapshots, depending on your region. 回答2: Did you try "refresh" from within the AWS management app (they have an icon for that I