Stack Exchange Network

Stack Exchange network consists of 174 Q&A communities including Stack Overflow, the largest, most trusted online community for developers to learn, share their knowledge, and build their careers.

Visit Stack Exchange

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.

0
votes
0answers
9 views

AWS Permissions: Lambda access Denied to S3

I have created a Lambda Python function through AWS Cloud 9 but have hit an issue when trying to write to an S3 bucket from the Lambda Function. When I test in Cloud 9 the Python codes runs fine and ...
0
votes
1answer
12 views

Handling traffic spikes for a medium scale ecommerce application

Let me first briefly describe our stack. Single EC2 instance with 4 vCPU and 16 GB RAM running Ubuntu Single RDS instance with 2 vCPU and 8 GB RAM running MySQL 8 We are using cloudfront to cache ...
0
votes
0answers
18 views

How can I redirect root domain requests to www for aws elasticbeanstalk?

I have an rails application running on AWS with their elasticbeanstalk service (which uses puma as its webserver). Currently, visiting my domain https://example.com never resolves, however https://...
1
vote
0answers
23 views

Serverless DDNS in an “AWS Like” cloud?

I am on a closed network, usin a derivative of AWS. I have one VPC in 2 Availability Zones, with a small range of IPs. Many of my VMs have dynamically assigned IPs. Right now, my Puppet Master is in ...
1
vote
1answer
19 views

Server Behind Load Balancer Says Status 200 But Client Says Connection Failed

I have an AWS setup that is not being reliable and I'm trying to figure out why. For background - the site is new and just being tested among our team, but it has persistent problems for some of our ...
1
vote
0answers
14 views

Status of “No data received from the instance” in Beanstalk. Cannot SSH or FTP

I have a WordPress install on Beanstalk with EC2 and RDS. I'm very new to AWS. Yesterday the site became unresponsive and had a status of 'No data received from the instance'. When I try to request ...
1
vote
1answer
18 views

VPN with DHCP forwarding on AWS

I'm interested in setting up a VPN server on Amazon EC2 to act as a VPN server. It's important that clients connecting to the VPN get an IP from the AWS VPC so that we can establish connectivity to ...
2
votes
1answer
20 views

Amazon AWS localhost error: channel 3: open failed: connect failed: Connection refused

I have just made an AWS ubuntu instance with a private key. I managed to connect to it through ssh, but I can't connect to it in web browser with localhost. I'm connecting through a windows computer ...
0
votes
1answer
20 views

AWS EC2 - Get access logs of AWS EC2 Instance logged in by RDP

I have created a windows instance and got .rdp file. How can i get the access logs i.e WHO and WHEN the instance is logged into with this .rdp file. Also, how much time was it used. Need help with the ...
0
votes
0answers
15 views

AWS RDS instance 100% CPU utilisation for PostgreSQL for normal usage

am using aws rds Postgres 9.4. I am facing an issue of very high CPU utilization. Instance type is t2.xlarge (16 gb ram). All the time I can see very low ram usage i.e. 14 gb free, 15 gb free. But ...
0
votes
0answers
7 views

Elastic beanstalk nodejs.log shows wrong node.js version

My Elastic Beanstalk web server app reports as having Node v. 10.15.0: But in all the logs (and if I ssh onto the machine) the node version appears to be 6.16.0: -------------------------------------...
0
votes
0answers
12 views

Rails SSL running puma and EC2 AWS

Specs: Rails 4.2.4, Ruby 2.1.9, running puma, EC2 instance in production mode I have an SSL certificate that I want to install on my server but using techniques like this one yields no results ...
0
votes
0answers
14 views

Add Subdomain with different IP on Google Domains

I am hosting a site on Github pages that uses a custom domain from Google Domains. My custom resource records look like this. Note that although the data for the CNAME is "mygithubusername.github.io"...
0
votes
1answer
17 views

Configuring Lightsail bitnami vsftpd passive

I've spent a really long time on this and I had it working last night. Came to work this morning and it has stopped working (I am the only IT support and no changes were made by me). I have ...
-1
votes
2answers
34 views

SSH connect to a server: “Permission denied (publickey).”

I'm trying to connect to a remote AWS (Ubuntu) server using SSH and keep getting this error msg: Permission denied (publickey). On my local machine, under ~/.ssh/config I have this set: Host ...
0
votes
1answer
20 views

Cannot connect to my remote server via ssh

I'm trying to connect to a remote AWS (Ubuntu) server using SSH and keep getting this error msg: Load key "/home/potatouser/.ssh/dashboard.pub": invalid format Permission denied (publickey). On my ...
1
vote
1answer
24 views

TCP port mapping / proxy with AWS

I have several services running on a single AWS instance on different ports: rabbit :5672 rabbitMQ :15672 elastic :9200 a few others I have a jumpbox on AWS which handles all incoming requests. I ...
-2
votes
0answers
12 views

Cloud-based setup for making playlist of existing videos into live stream [on hold]

I am trying to figure out the architecture for a cloud-based web application where I need to be able to do the following: Upload videos and transcode them to a very small resolution (240x80) with ...
0
votes
1answer
7 views

Pure-FTP Server Connection Issues

I have a web server (CentOS Web Panel) running in an AWS EC2 Instance. I am connecting a bespoke application to the server which connects using MySQL and FTP. I am having issues connecting to the ...
1
vote
0answers
9 views

AWS S3: How to change an HTTP Header of a single object in a S3 bucket via CLI?

As the question implies I want to change/set some HTTP headers for a single object in a S3 bucket via CLI. This is what I have tried so far: aws s3 sync --delete --acl public-read --cache-control \ ...
0
votes
0answers
12 views

Can't call IAM functions with temporary credentials

When calling any IAM functions using the aws cli with temporary credentials (for example, calling list-attached-role-policies), I get the following error: An error occurred (InvalidClientTokenId) ...
-1
votes
0answers
17 views

Issue with the signed URL for CloudFront in AWS

I enabled signed URL in CloudFront. And tried to access S3 bucket files using signed URL which connects to this URL:'https://domain_of_cloudfront/file_name' and able to access individual objects from ...
0
votes
0answers
35 views

AliasMatch not working in AWS EC2 Apache2 server conf

I have a site running on a locally hosted server configured with Apache2 that uses this AliasMatch rule in the .conf file: AliasMatch ^/media/(?!video_uploads)(.*)$ /var/www/proj/media/$2 This ...
0
votes
1answer
11 views

Postfix + Dovecot + AWS + CloudFlare + SquirrelMail Unable to receive messages

Set this thing up awhile ago, and it sends messages Just fine, However I wanted to start being able to receive messages. Iv tried telneting into port 25, and nothing. dig dzwxgames.com mx: ...
0
votes
0answers
7 views

Is it possible to get the cloud9 ide private key to debug: “AWS Cloud9 couldn't connect to SSH server ubuntu@ip”

I have an ec2 instance that I can ssh into, and a docker instance inside it that cloud9 ide can't connect to when I try to create an SSH environment created with the docker sample instructions. I've ...
0
votes
2answers
71 views

Unable to ping the remote user via ansible

I'm trying to connect my host machine which is of Ubuntu (ctrlnode is user) to remote machine which is of RHEL (rhelnode1 is user) on AWS and when I try to connect my a user (rhelnode1) on remote ...
0
votes
0answers
6 views

Terraform: Unable to Assign Remote State Value to a Variable in a Module Declaration

I have a state file handling VPC declarations, here is the snippet for the subnets: resource "aws_subnet" "stage-1a" { availability_zone = "us-east-1a" vpc_id = "${aws_vpc....
0
votes
0answers
12 views

Lambda users splitter service [closed]

Lately, I have been thinking about different approaches on how to improve some parts of an application I'm working in and I would like to know your opinion about an idea. I have this app's backend as ...
0
votes
0answers
19 views

Kafka multiple listeners

Initial apologies for the long post (this is also on superuser as i wasn't sure the best place for this https://superuser.com/questions/1404421/kafka-multiple-listeners so let me know if one needs ...
1
vote
1answer
28 views

updating SSH version 7.4pl to 7.5 on Amazon linux 2

I got one error while scanning My Amazon linux 2 Ec2 instance OpenSSH < 7.5 22 / tcp / ssh Medium 5.0 The vulnerability is not included in the NVD OpenSSH < 7.6 22 / tcp / ssh CVE-2017-15906 ...
-1
votes
0answers
40 views

AWS - Environment health has transitioned from Ok to Warning notification

I am facing a "Warning" notification in Elastic Beanstalk. How can I determine the reason for this error? I have checked instance CPU USAGE in a CloudWatch but it was set maximum 58.9% during warning ...
0
votes
0answers
22 views

EC2 instance stopped connecting to Port 80,443,1443 but RDP works on W2K16 Datacenter instance

Around 7:30 Thursday my web site which is hosted on AWS EC2 which has been up since late March, just stopped working. External users cannot connect to HTTP port 80 or HTTPS port 443. No change was ...
0
votes
3answers
46 views

Another EC2 ssh issue

I am having an issue with the ssh daemon not starting on one of EC2 instances. I created another instance to access the volume, mounted the volume without any issues and tried many many solutions ...
1
vote
0answers
39 views

HTTPS on Wordpress hosted on AWS Elastic Beanstalk

I'm trying to force https over HTTP protocol for my website. I have managed to force the http://example.com => https://example.com and all blog post URLs. However, when I try to access https://...
-3
votes
0answers
21 views

Three Tier Architecture [closed]

I'm trying to get a better understanding of the 3 tier architecture, specifically the presentation and logic layers. Is the presentation layer made up of web servers running the frontend code while ...
0
votes
2answers
48 views

Webapp with Python back-end. Should I use AWS Lambda?

I want to build a webapp with Python back-end. The front-end of the webapp will just have a simple input box where the user puts an address. Then, on the back-end I want to scrape content from the ...
0
votes
0answers
15 views

Deploy one django project with multiple app on multiple subdomains on AWS EC2

I have one django project which contains 2apps namely, admin and api. The admin app is dependent on api app to access the models. I have 2 subdomains like: admin.xxxx.com and api.xxxx.com. This ...
2
votes
1answer
40 views

Can you use m5d's local SSD as a root device?

I've been using the Amazon ECS AMI on m5 EC2 instances, and I noticed that there's a new m5d instance type which is similar but comes with a 70 GB local SSD. Since these are throwaway instances, ...
0
votes
0answers
11 views

Connected to AWS RDS using Flask-SQLAlchemy

I'm having trouble trying to connect my Flask application to my RDS instance and I have no idea how to fix it. Using the AWS online UI, I created a new instance of RDS and attached a security group ...
1
vote
1answer
54 views

AWS “No credentials specified” even when EC2 IAM policy applied

This is an odd issue which we can't find a solution for. On AWS, we are running Microsoft Remote Desktop Services on Windows Server 2019. All servers are joined to an AWS AD Directory Services ...
0
votes
3answers
121 views

How can Amazon send emails from other email services?

Suppose I register an Email address on Gmail for instance. I verify my address(not domain) in Amazon Simple Email Service. Then I send emails using Amazon from this address. Who actually does the ...
0
votes
1answer
23 views

Nginx Reverse Proxy Path on Parent Domain from Different Server

I currently have web servers for a web application hosted on AWS and I am planning on launching a blog for the web application, which I plan on hosting from a DigitalOcean server (Nginx) due to its ...
0
votes
1answer
47 views

How can i download my aws key file? [duplicate]

I asked a freelancer to migrate the website from staging to live server and they perform the migration, but now I want to back up the files and DB I need a pem file, which the freelancer never gave me....
0
votes
0answers
26 views

AWS Application Load Balancer 502 Bad Gateway

I am using AWS ECS Fargate and have an application load balancer to forward all the connections to the correct instance. I did already manage to get up a cluster and a service up and running ...
0
votes
1answer
22 views

How to dynamically add users clause in CloudFormation::Init (or, how to programmatically set template keys)

The AWS::CloudFormation::Init documentation allows the specification of users to be created on ec2 instances, thusly: "users" : { "myUser" : { "groups" : ["groupOne", "groupTwo"], ...
0
votes
1answer
34 views

Can I use existing AWS IAM role to create S3 bucket via Cloudformation template?

I want to create a S3 Bucket via CloudFormation template. I found there is a way to do it for EC2 instance on this link. Do we have a way to create S3 bucket using existing IAM role via ...
11
votes
2answers
1k views

How to max out performance EC2 instance

Disclaimer: I am a front end dev in a server kind of world. Hi guys. I have a server instance on EC2, the c5d.9xlarge, whose specs are: System: Ubuntu 18.04 vCPU: 36 threads/cores Memory: 72 GB ...
0
votes
0answers
20 views

AWS SDK Timeout through HTTPD Proxy

For "reasons," the application I am supporting connects to AWS S3 through an Apache HTTPD proxy. When using either AWS Java SDK or AWSCLI to upload large files to S3 through a default HTTPD 2.4 proxy,...
2
votes
1answer
58 views

How to set up no www on Route 53, site hosted by Glitch.com?

I’m trying to set up my site, www.jdipasquale.com to be found without including the www at the start. I’m confused on how to set this up in my Route 53. I heard I need to find some sort of IP or host ...
2
votes
0answers
21 views

How would I Import Data Daily Into SQL Server RDS AWS from an external MYSQL database

Currently I have a job on SQL Server that uses a linkedserver to our MySQL database to import data. We now have an SQL Server RDS and so I need to have the data be imported into it from the MySQL db. ...