amazon-ec2

Kubernetes: mount: special device does not exist when attaching AWS EBS volume

雨燕双飞 提交于 2020-06-25 04:01:59
问题 dear Kubernetes guru's! I have spinned kube 1.4.1 cluster on manually created AWS hosts using 'contrib' Ansible playbook (https://github.com/kubernetes/contrib/tree/master/ansible). My problem is that Kube doesn't attach EBS drives to minion hosts. If I define the pod as follows: apiVersion: extensions/v1beta1 kind: Deployment metadata: name: kafka1 spec: replicas: 1 template: spec: containers: - name: kafka1 image: daniilyar/kafka ports: - containerPort: 9092 name: clientconnct protocol: TCP

Cannot connect to PostgreSQL Remotely on Amazon EC2 instance using PgAdmin

独自空忆成欢 提交于 2020-06-24 11:28:27
问题 I have a micro free tier RHEL 6 instance running and have postgresql 9.2 installed using the yum instructions here: http://yum.pgrpms.org/howtoyum.php And I am able connect to the PG server locally using this on server: 03:46:20 root@xxx[~]$ psql -hlocalhost -p5432 -Upostgres However i've never successfully connected to it outside of box. The error message looks like: 12:11:56 saladinxu@GoodOldMBP[~]$ psql -h ec2-xxx.ap-southeast-1.compute.amazonaws.com -p5432 -Upostgres psql: could not

AWS Elastic Beanstalk environment with multiple Load Balancers

只愿长相守 提交于 2020-06-24 08:22:30
问题 I have the following situation: I have 1 Rails App that has 2 domains, each of these domains has multiple/dynamical subdomains. This app is in AWS using a load-balanced Elastic Beanstalk. What i need is that those 2 domains that points to my single Rails App to work under SSL in port 443. But since Elastic Beanstalk has only one load balancer, I can only use one single SSL certificate on port 433 :( Using a UCC SSL certificate won't be the solution because i need each domain certificate to be

How to set the administrator password for a Windows Server machine on AWS from CloudFormation? [closed]

帅比萌擦擦* 提交于 2020-06-17 08:05:28
问题 Closed. This question does not meet Stack Overflow guidelines. It is not currently accepting answers. Want to improve this question? Update the question so it's on-topic for Stack Overflow. Closed yesterday . Improve this question I am deploying a CloudFormation template which launches an EC2 instance from the Windows_Server-2019-English-Full-Base-2020.05.13 AMI. By default, the Windows Server image has an Administrator user. To connect to the instance via RDP, I have to navigate to the

How to set the administrator password for a Windows Server machine on AWS from CloudFormation? [closed]

Deadly 提交于 2020-06-17 08:04:18
问题 Closed. This question does not meet Stack Overflow guidelines. It is not currently accepting answers. Want to improve this question? Update the question so it's on-topic for Stack Overflow. Closed yesterday . Improve this question I am deploying a CloudFormation template which launches an EC2 instance from the Windows_Server-2019-English-Full-Base-2020.05.13 AMI. By default, the Windows Server image has an Administrator user. To connect to the instance via RDP, I have to navigate to the

How to run a script on your aws-ec2 from a script on your local machine?

梦想与她 提交于 2020-06-17 05:09:08
问题 I have a script on my local machine which helps me to connect to my ec2 . But, it does not runs the script file specified. awsconnect.sh: ssh -i ".pemfile" ubuntu@"ec2-instance" ./data.sh data.sh is my file on the aws-ec2 . data.sh: mkdir -p dumps/$(date +"%Y%m%d"); mysqldump -h localhost -port=3306 -u root -proot abc | gzip > dumps/$(date +"%Y%m%d")/abc.sql.gz; logout My data.sh file is running fine if i run it from aws-ec2 command line. But, it is not running from my script file. What is

AWS S3FS How to

点点圈 提交于 2020-06-17 00:56:08
问题 Here's the current scenario - I have multiple S3 Buckets , which have SQS events configured for PUTs of Objects from a FTP, which I have configured using S3FS. Also, I have multiple Directories on an EC2 , on which a User can PUT an object, which gets synced with the different S3 buckets (using S3FS), which generate SQS events(using S3's SQS events). Here's what I need to achieve, Instead of Multiple S3 buckets, I need to consolidate the logic on Folder level , ie. I have now created

AWS S3FS How to

狂风中的少年 提交于 2020-06-17 00:55:19
问题 Here's the current scenario - I have multiple S3 Buckets , which have SQS events configured for PUTs of Objects from a FTP, which I have configured using S3FS. Also, I have multiple Directories on an EC2 , on which a User can PUT an object, which gets synced with the different S3 buckets (using S3FS), which generate SQS events(using S3's SQS events). Here's what I need to achieve, Instead of Multiple S3 buckets, I need to consolidate the logic on Folder level , ie. I have now created

AWS EC2: cannot get bare metal instance

北慕城南 提交于 2020-06-16 17:27:27
问题 I have tried several times in the last two weeks to log on to a c5.metal instance. Each time I get "Initializing" in the status checks field, but after 10 minutes it is still "Initializing" and I'm not able to log on. I have had success with c5.metal before, but not any more. Today I also tried to get an m5.metal instance. This time the instance successfully initialized after 10 minutes but I was not able to log on with Putty. I stopped the instance, then after about 30 minutes I tried again

AWS EC2: cannot get bare metal instance

爱⌒轻易说出口 提交于 2020-06-16 17:27:10
问题 I have tried several times in the last two weeks to log on to a c5.metal instance. Each time I get "Initializing" in the status checks field, but after 10 minutes it is still "Initializing" and I'm not able to log on. I have had success with c5.metal before, but not any more. Today I also tried to get an m5.metal instance. This time the instance successfully initialized after 10 minutes but I was not able to log on with Putty. I stopped the instance, then after about 30 minutes I tried again