Questions tagged [amazon-web-services]

Amazon Web Services (AWS) delivers a set of services that together form a reliable, scalable, and inexpensive computing platform "in the cloud". If you have a question about a specific web service, consider asking on its tag, e.g., amazon-ec2.

8595 questions
3
votes
1 answer

Disable AWS ELB health check

Is there a way to disable AWS ELB's health check completely? I use a logger middleware (morgan) to log all requests and it's quite annoying for health check requests to get logged every 5min.
Avery235
  • 165
  • 2
  • 6
3
votes
1 answer

Per-second billing for custom AMI

In the beginning of October this year Amazon announced per-second billing for EC2 instances. This potentially could be a big cost reduction for me. However Amazon also says this billing is platform dependent: Per-second billing is not currently…
3
votes
1 answer

How to manage VPC association to Route53 hosted zone using CloudFormation?

I wrote a CloudFormation template which creates a vpc, subnets, routes, asg's and instances. I want CloudFormation to handle the association of the newly created vpc with an existing Route53 hosted zone but I can't find how to do it in…
Itai Ganot
  • 10,644
  • 29
  • 93
  • 146
3
votes
3 answers

Assign default security group to Elastic Beanstalk instance

I have created a Elastic Beanstalk environment and I have a rails app running which is great. However I am unable to assign is to the default security group. I have added a screenshot to this post showing the current security group assign. Any…
3
votes
1 answer

AWS CloudFormation creates new RDS instance

I've created a CloudFormation script that stands up a clone of our existing AWS stack. I've added in information so that CloudFormation will create RDS from either a snapshot of an existing RDS instance, or create a new instance with a named…
Glen Solsberry
  • 1,536
  • 5
  • 28
  • 38
3
votes
1 answer

A CloudFormation stack hangs on creation or deletion when custom resource lambda is broken

I have noticed that if a template contains custom resource lambda, which is broken (there is a runtime error, or it doesn't properly send a response body), then the CloudFormation stack hangs on the creation phase on this particular resource. When…
3
votes
1 answer

COPY No Source files were specified

Im trying to deploy a docker container to AWS CodeBuild and it keep failing on the following step: COPY dist/* /var/www/html/ I'm sure there's something inside of that directory, and just to be sure I ran the command ls dist: Step 4 : RUN ls…
jaronoff97
  • 131
  • 1
  • 3
3
votes
1 answer

How to use Let's Encrypt with both EC2 and Cloudfront?

I want to use Let's Encrypt certificates for both EC2 and Cloudfront. I am creating a wordpress installation EC2 t2.micro using Ubuntu 16.04(HVM) AMI and nginx. EC2 region will be us-east-2 (Ohio). I can create Let's Encrypt cert using the certbot…
3
votes
1 answer

Running Kafka in Kubernetes on AWS

I've the following scenario: 3 nodes instances spread across 3 Availability Zones 6 Brokers running in StatefulSets with AWS external volume for Kafka data. Instance size: m4.2xlarge EBS Volume: st1 - 500 GiB No limit requests and memory set at…
Mazzy
  • 227
  • 3
  • 11
3
votes
1 answer

AWS EC2 instance doesn't accept inbound IPV6 requests

Right now I have an Ubuntu 16 EC2 instance set up with ipv6 connectivity. I specifically am just trying to SSH and OpenVPN via IPV6. The following work: ipv4 SSH and OpenVPN connections ipv6 outbound connections, such as ping6 and curl ipv6 inbound…
Jack Cole
  • 171
  • 7
3
votes
3 answers

EC2 instance unreachable (both HTTP and SSH) after unknown amount of time

I have an Amazon Linux instance with only Wordpress running on it (installed using Amazon guide). After some amount of time (I don't know exactly how long, at least some hours), the instance is neither reachable through HTTP (tries to open website…
Nima
  • 283
  • 1
  • 3
  • 8
3
votes
2 answers

AWS - Get AMI default username from CLI

I'd like to get the default username for an AMI on AWS. For example, I need to obtain the username shown in the box in this image, via API or CLI. Any thoughts?
MT.
  • 321
  • 2
  • 8
3
votes
0 answers

shrinking EBS volume that used as root

I have an EBS volume that is 800GB and I am using only 5GB of this. I want to shrink it but AWS doesn't support this, after a bit of a research, I have found that I can mount both volumes and rsync the content of the bigger one to the new one. This…
Mark Khateeb
  • 141
  • 1
  • 1
  • 11
3
votes
0 answers

AWS SSL Certificate without Load-Balancer?

I have a standard Elastic Beanstalk app set up and running great over HTTP. Following the AWS Documentation I requested an SSL Certificate and configured it with CloudFront. Instead of a load-balancer I am adding an ingress rule to the…
3
votes
2 answers

Amazon AWS Elastic Beanstalk EBS Logs To Cloudwatch (Multi Docker Env)

I would like to view all my logs in cloudwatch. I currently have a multi-docker Elastic beanstalk environment. I have selected for the logs to push to cloudwatch by going to Elastic Beanstalk > App > Env > Configuration > Software Configuration >…