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.

Filter by
Sorted by
Tagged with
0 votes
0 answers
6 views

Rightsizing of RDS and EC2 instances

We manage hundreds of cloud accounts and thousands of VMs. It has become really hard for us to identify the cost leakage and fix it so that the spend is in check. One of the major problems that we ...
user avatar
0 votes
0 answers
11 views

AWS s3 sftp without AWS transfer family

Are there any other ways to upload files from an Ubuntu server to AWS s3 without AWS Transfer Family? I have to make a MYSQL dump every five minutes and upload to the bucket but the Transfer Family's ...
user avatar
0 votes
0 answers
14 views

AWS EC2 instance reachabilty check failed for new instance with older Plesk Volume

long story short. 5 year old Plesk environment (always updated) on an EC2 instance for some reason the instance has two volumes attahed (root volume sda1 and a second sdf) the mount point of the ec2 ...
user avatar
  • 143
0 votes
1 answer
18 views

Multiple Route53 private hosted zones with same domain

Is it possible to configure multiple private hosted zones with the same domain and have them resolve to different servers? PHZ1/VPC1 - example.com -> ServerA in VPC1 PHZ2/VPC2 - example.com -> ...
user avatar
0 votes
0 answers
13 views

Problems with connection refused setting up ssh tunnel to aws ec2 instance

I'm trying to set up a raspberry pi to run on my desk and I'd like to remote into it from work via a tunnel. To do this I've setup an EC-2 instance that I'll use similar to ngrok to create tunnels to ...
user avatar
  • 101
0 votes
1 answer
28 views

How to assign stable/elastic IP to AWS ECS (EC2) service , which can be whitelisted by client at their firewall

I am running service on ECS, which calls third party API. How can I have stable/elastic IP which third party can add to their firewall? EC2 to should be able to scaleup and scaledown, ECS is free to ...
user avatar
  • 1
0 votes
0 answers
9 views

Terminate ALB if LCU gets too high?

I am looking to deploy an API I wrote to AWS for purely learning purposes. As such I would like to ensure I stay within the free tier. As ALB billing is based on the LCU metric, is it possible to ...
user avatar
0 votes
0 answers
5 views

ECS: Container parameters gets cleared when bumping the version of the task definition used in a scheduled task

After increasing the version, I expected to see this (the existing container parameters and version 11 of the task definition): However, I got (containers with only default parameters): I've ...
user avatar
0 votes
0 answers
22 views

Postfix not sending through port 587 even after explicitly changing it

As I am using Amazon Lightsail and the port 25 is blocked by the provider, so I wanted to use port 587 to send email and use the emailing through my web app. My /etc/postfix/master.cf looks like this.....
user avatar
1 vote
2 answers
26 views

AWS application can't connect to external API without public IP address

I have a Django application that's running on AWS EC2. That application occasionally makes requests to an external API (stripe.com). I tested it extensively and it passed all my tests. When I deployed ...
user avatar
0 votes
1 answer
20 views

Rails 6 - Understanding AWS Pricing for CDN video on demand application

I am working on an Rails 6 application, already on production which is heavily dependent on AWS Services like S3, Lambda, Cloudtrail, SNS and CDN to serve a video-on-demand app, where users can upload ...
user avatar
  • 101
0 votes
1 answer
17 views

Move an Elastic IP from a VPC to Classic EC2

I know it is possible to "Move to VPC Scope", but is it also possible to move back from VPC to Classic EC2?
user avatar
0 votes
0 answers
11 views

Automating deployments for AWS Lambdas

I have a simple Python app (job) that I currently have deployed + running on an EC2 instance and I have configured cron on instance to kick it off a few times each day. Any time I need to make changes ...
user avatar
0 votes
1 answer
13 views

aws cli import access key in json format

With the aws cli (version 2) I have created an access key for an iam user, which produces json output. I pipe that output to a file. Now I would like to import these credentials to my aws cli ...
user avatar
  • 1,195
0 votes
0 answers
9 views

AWS Elastic Beanstalk random spike in NetworkIn traffic once to twice a day

Unusual traffic on my Elastic Beanstalk application. NetworkIn, NetworkOut both spike once to twice a day at random times. Sometimes it crashes my load balancer and I have to go in and manually kill ...
user avatar
0 votes
0 answers
20 views

cannot ssh to EC2 instance running Centos8

I have not had a problem with EC2 instances in the past. But this is my first time using this particular Mac Book Pro, running 12.4, and trying to ssh to an EC2 instance running Centos8. Would there ...
user avatar
0 votes
0 answers
10 views

Update Oracle java 8 cacerts in ubuntu

I have an old ubuntu ec2-classic machine (v. 14.04) on which a critical application (under migration process) is running. I need to update the certs at /usr/lib/jvm/java-8-oracle/jre/lib/security ...
user avatar
  • 3
0 votes
1 answer
13 views

Can't connect from bastion host to private instance

I have a bastion host that I'm trying to use to SSH to a private instance. The instances are in different AZs (with different subnets). The VPC has a CIDR of 10.0.0.0/16. The bastion host subnet has ...
user avatar
0 votes
0 answers
8 views

Debugging reads and writes of an NFS (Amazon EFS)

I have a Kirby CMS website (PHP server behind nginx reverse proxy) running in Amazon EFS. The most recent update of the site lead to 502 Bad Gateway and 504 Gateway Timeout errors. Looking at the ...
user avatar
  • 103
-1 votes
1 answer
29 views

No instances available for AMI

I have an old app running on EC2 classic box, and need to migrate it to a VPC. The old instance type is m1.small (Intel arch). I created an AMI for the server running the app, and tried to launch a ...
user avatar
  • 223
-1 votes
1 answer
38 views

Redirect Large Number of Web Sites from Azure to AWS

What is the best-practice method (considering cost, complexity and performance) to redirect a large number of websites to another server? Each site's DNS contains an A record pointing to an old IP ...
user avatar
0 votes
0 answers
11 views

Access denied error on EFS volume from time to time from two EC2 instances

I have two identical EC2 instances with web servers, both have mounted the same EFS volume and everything in the same zone and EBS. Here is the /etc/fstab output: fs-12345678.efs.us-east-1.amazonaws....
user avatar
  • 1
0 votes
1 answer
23 views

Creating Subnet IP address : IPv4 block sizes must be between a /16 netmask and /28 netmask

I'm new to AWS and I'm looking to create a subnet. Whenever I try the defaults subnets under I get either the error message "IPv4 block sizes must be between a /16 netmask and /28 netmask." ...
user avatar
1 vote
1 answer
24 views

How do you delete AWS Redshift Serverless?

There's no button to "Stop" or "Delete" the cluster. I managed to delete default "Workgroup" but Redshift is still running. Any idea how to delete Redshift Serverless ...
user avatar
  • 123
0 votes
0 answers
14 views

Best way to clone EC2 (copy of my current instance)

I would like to launch an instance that is a copy of my current instance EC2 What is the difference between image, template and snapshot) , and which should I pick ? (which is the better solution i ...
user avatar
0 votes
0 answers
12 views

EC2 instance Ipsec VPN with overlapping cidrs

I'm setting a site to site connection between an instance on my AWS cloud account and a customer. Unfortunately customer's subnet is a 10.0.0.0/8 and my vpc is on 10.0.0.0/16. Looking on internet i'...
user avatar
  • 101
1 vote
1 answer
33 views

Keycloak w/ EKS + ALB (401 after auth)

I’m currently trying to get Keycloak to run in EKS behind ALB and for the life of me, I can’t get it to work. I get the redirect to a login screen and after I log in - I instantly get presented with ...
user avatar
  • 11
-1 votes
0 answers
28 views

AWS EC2 cron file is being modified but cant figure out how

I have a AWS linux2 ec2 instance with a cron set up using sudo crontab -u apache -e I have only 2 AIM roles that have access to a s3 bucket the only way to access the server via ssh is with the pem ...
user avatar
  • 99
0 votes
0 answers
8 views

How to configure CyberArk for SAML integration with AWS Cognito

I am new to CyberArk and we are using AWS Cognito as the Login page. Now we need to integrate the users of CyberArk in AWS Cognito using SAML integration. But i didn't know how to configure the ...
user avatar
  • 37
0 votes
1 answer
25 views

Converting a Medium Sized Database from one charset to another with minimal downtime

Our company (small business) had recently taken on new business in an APAC region which requires us to support 4 bit characters across our MySQL 5.7 DB. This requirement means that we need to convert ...
user avatar
0 votes
2 answers
47 views

Easier way how to put AWS ALB behind Cloudfront with TLS?

I have this flow: user => Cloudfront with TLS => ALB with TLS => ECS I encrypted connection between Cloudfront and ALB. Cloudfront has domain MAIN.DOMAIN.NET + TLS cert configured. ALB has ...
user avatar
  • 33
0 votes
0 answers
9 views

How to test that AWS Certificate Manager (ACM) DNS Validation actually works?

I recently used AWS CloudFormation to set up ACM DNS Validation but there does not seem to be any way to test that it actually works. It says that so long as the CNAME is there and the certificate is ...
user avatar
0 votes
1 answer
34 views

how to upload a udp stream to AWS

I have a stream that only has udp protocol and I need to upload it to my AWS cloud server. Is it possible to send udp to the server if I don't have the stream in the local network of the AWS server? ...
user avatar
0 votes
1 answer
24 views

On a AWS Lightsail Bitnami wordpress server how do I enable ipv6 for https after enabling it for only ipv4 using the bncert-tool?

On my server on AWS Lightsail I installed Wordpress via Bitnami, I then ran the bncert-tool via this link https://docs.bitnami.com/aws/how-to/generate-install-lets-encrypt-ssl/ but it only works on ...
user avatar
0 votes
0 answers
15 views

Most simple way to setup forwarding proxies using AWS?

I'm currently looking at a task where I guess that I'm lacking some networking background, despite it sounds rather simple in theory: For collaboration we're using a dedicated repo server located in ...
user avatar
  • 101
0 votes
0 answers
17 views

AWS t3.medium web traffic

I have a ecommerce website running on t3.medium instance. Is there a way to find out how much web traffic can be handled by same in numbers? So if our web traffic increases do we need to buy another ...
user avatar
0 votes
0 answers
7 views

How to set max. connections to an Aurora RDS instance

I set the DB cluster parameter group to a parameter group that has max connections = 60. I set the instance option group to an option group that has max connections = 55. I applied changes immediately....
user avatar
0 votes
0 answers
12 views

How can I find the list of instance types that do not require ENA and the list of AMIs that support ENA?

I have this Terraform file - terraform { required_providers { aws = { source = "hashicorp/aws" version = "~> 4.23" } } required_version = ">= ...
user avatar
0 votes
2 answers
34 views

What are the differences between AWS EC2 t1 and t2 instances?

When I try to create a new EC2 instance, there are many instance types to select from: t1.micro, t2.nano, t2.micro, etc. To understand the differences between t1, t2, t3, etc. I go to https://aws....
user avatar
0 votes
0 answers
17 views

provisioning aws.yml playbook using ansible-playbook

I'm not very experienced in aws nor ansible, but I've been trying to host and deploy a ready made medium size application to aws. I've already configured my profile with aws-cli, installed the pip ...
user avatar
0 votes
0 answers
9 views

How to map a public DNS tor private NLB in AWS

I have an internal NLB. I cannot make it public. Can I map a public dns to this internal NLB. Can this be done by route 53?
user avatar
  • 15
0 votes
1 answer
68 views

Issue with AWS ec2 instance ssh : error: AuthorizedKeysCommand

While trying to connect to my EC2 instance via ssh client, I got an error. I'm still able to connect from the option of AWS console : EC2 Instance connect no supported authentication methods ...
user avatar
0 votes
0 answers
13 views

how to make VPC Endpoint public

I have two VPCs. VPC-A has an endpoint service and VPC-B has VPC endpoint to that service. I also want to access this private endpoint in VPC-B publicly. Can you please help me with the ways.
user avatar
  • 15
0 votes
0 answers
11 views

Unknown latency in AWS ALB

I have AWS ALB, the ALB points to containers running on ECS Fargate. The containers run Apache Tomcat. There was an instance, where the front-ends were reporting high p99 latency - 20.XXX seconds. ...
user avatar
1 vote
1 answer
43 views

AWS PrivateLink connection with HTTPS

I have two VPCs, a consumer VPC and a service VPC. Consumer application HAS to access the service via AWS PrivateLink and it HAS to be an HTTPS call. Here is my current setup, which works: Note that ...
user avatar
0 votes
0 answers
22 views

Launch new EC2 instance using shared private AWS AMI

I have a website running on t2.micro ec2 server (A). While it is running I created its AMI and shared it with another AWS account B. I went to the B AWS account and tried to launch an EC2 instance ...
user avatar
  • 103
0 votes
1 answer
31 views

Hardware maintenance scheduled for AWS RDS - What could be the down time for the RDS instance which is in single availability zone?

One of my production RDS instance is scheduled for hardware maintenance. This instance is hosted in the single availability zone and storing the huge data. Now I'm worried that I cannot postpone the ...
user avatar
  • 103
1 vote
1 answer
602 views

command-line line 0: unsupported option "accept-new", how to fix this?

Earlier it used to work for checking ssh login passes or not. args="-oStrictHostKeyChecking=accept-new " test_command="ssh -i ssh_key.pem ec2-user@ec2-34-211-110-254.us-west-2.compute....
user avatar
0 votes
0 answers
22 views

terraform output is getting extra content, how to fix that?

terraform output -raw ssh_key Should give only the ssh key, but getting below output. output of terraform Not coming if we use direct terraform but coming with the version installed using tfenv. ...
user avatar
0 votes
1 answer
45 views

Cannot ping EC2 instance from AWS CloudShell

I cannot ping the private IP either from the AWS CloudShell or another EC2 instance: [cloudshell-user@ip-10-0-161-171 ~]$ ping 10.1.0.10 ping: socket: Operation not permitted Ping is enabled on the ...
user avatar
  • 1

1
2 3 4 5
166