amazon-ebs

Kubernetes on AWS cloud provider

青春壹個敷衍的年華 提交于 2019-12-20 12:22:40
问题 I installed CentOS Atomic Host as operating system for kubernetes on AWS. Everything works fine, but it seems I missed something. I did not configure cloud provider and can not find any documentation on that. In this question I want to know: 1. What features cloud provider gives to kubernetes? 2. How to configure AWS cloud provider? UPD 1 : external load balancer does not work; I have not tested awsElasticBlockStore yet, but I also suspect it does not work. UPD 2 : Service details: $ kubectl

Change read/write access of a folder in Ubuntu Linux

我的未来我决定 提交于 2019-12-20 11:07:09
问题 I want to create a folder and write a file in the created folder in an Amazon EBS volume from a Java Servlet installed on Amazon EC2 running Ubuntu. I have mounted the EBS volume at /mnt/my-address But the Servlet is unable to create the folder and write the file? My Question Why Java sevlet is not able to create a folder on Amazon EBS mounted volume? 回答1: Looks like your folder does not have the correct read/write permissions. Try granting read-write access to all users to the directory in

Automount EBS volume in Amazon EC2 Windows Instance

不羁的心 提交于 2019-12-20 10:31:57
问题 Does anyone know how to auto-mount an Elastic Block Storage (EBS) volume when starting a Windows 2003 instance in Amazon's Elastic Compute Cloud (EC2)? 回答1: Setup: Make sure the EBS volume is formatted and labeled (in the example I used the label PDRIVE). Setup a drive mapping using Ec2ConfigServiceSettings.exe Install Java on the instance Install the EC2 API command line tools Install a copy of your cert and private key Install a copy of curl.exe (open source tool) You can use the group

How do I increase the EBS volume size of a running instance? [closed]

自作多情 提交于 2019-12-20 08:07:23
问题 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 2 years ago . I have a server running the recent Ubuntu AMIs from Canonical. The size of the EBS boot volume is 8GB. I know that I can resize EBS volumes by taking a snapshot, creating a new volume and expanding the partition on it. How can I increase the size of the volume while the machine is running? If this is not

Amazon EC2 - Swap root instance store device with EBS device

假装没事ソ 提交于 2019-12-17 15:05:21
问题 I have an EC2 instance with "instance store" device as a root device. Now, I would like to attach an EBS volume to that same instance, only that I want it to be the root device. Is that possible? What happens to the instance store device in such case? Thanks in advance 回答1: You could migrate your running instance to an EBS backed AMI. Here's how I did it: Boot up a regular S3 AMI backed instance (or since you've already got an instance you're happy with, use that) Make an EBS volume of the

Growing Amazon EBS Volume sizes [closed]

廉价感情. 提交于 2019-12-17 07:58:08
问题 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 6 years ago . I'm quite impressed with Amazon's EC2 and EBS services. I wanted to know if it is possible to grow an EBS Volume. For example: If I have a 50 GB volume and I start to run out of space, can I bump it up to 100 GB when required? 回答1: All great recommendations, and I thought I'd add this article I found, which

EC2- Booting from an EBS snapshot and then detaching the volume to reduce costs

最后都变了- 提交于 2019-12-13 17:12:43
问题 I would like to boot from an EBS snapshot for convenience but then I would like to detach the volume after launch so I don't have to pay for it. Is this possible? 回答1: No, it's not possible. The EBS volume is the system partition so it the same as pulling the harddrive out of the server. To reduce costs you could try to minimize the size of the volume so it has just enough space to hold all the system files and your data. 来源: https://stackoverflow.com/questions/2453852/ec2-booting-from-an-ebs

Are there different type of volume other than EBS volume in aws?

只谈情不闲聊 提交于 2019-12-13 04:35:40
问题 Are there different type of a volume other than EBS volume in aws? I see a term EBS volume but don't seem to recall any other volume mentioned. Also, EBS is just a name for their volume? EBS - volume Hard - disk 回答1: In terms of volumes for AWS that I know of there are two: EBS Volumes . These are managed drives for your EC2 instances. You can boot off them, snapshot them, and move them between machines. EBS volumes come in two flavors: Standard and PIOPS. The billing between the two is

How can I delete an image (AMI) in AWS EC2 using the SDK?

两盒软妹~` 提交于 2019-12-11 11:13:08
问题 I am using CreateImage() to create a new AMI from an existing Instance and I was hoping there was a DeleteImage() which would work in the converse fashion. Unfortunately this method does not exist on the EC2Client. What is the proper way to delete an AMI through the SDK using C#? 回答1: There is a DeregisterImage() that should do what you want. Note that it's up to you to delete any snapshots the image may be based upon afterward. 回答2: Here is a quick snippet: AmazonEC2 ec2 = AWSClientFactory

Boot EC2 EBS volume locally?

五迷三道 提交于 2019-12-11 06:23:12
问题 I want to do some testing with an EC2 instance, but to download it to my PC and run it locally on VirtualBox/KVM or the like. Is it possible? 回答1: No, it's not. EC2 instances run on a customised Red Hat Xen layer whose AMIs are tailored specifically to that platform. Those images cannot be used anywhere else. 回答2: Well, you can use VMWare to create an image, work on it and then upload it to EC2. Amazon introduced this feature in Dec 2010. However, this will only be useful to you if you work