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
5 views

EC2 instance stuck at unreachable login after assigning Elastic IP and rebooting

When I check the logs of my EC2 instance after assigning an elastic IP (e.g., new elastic ip is = ip-111-111-111-111) and rebooting, I get the following at the end of my EC2 logs: Ubuntu 16.04.5 LTS ...
0
votes
1answer
13 views

Federated SSO to AWS using CLI

We have successfully setup an external idP using google and connected it to AWS. Our users now have Federated SSO with AWS and can easily log into the web console with SAML 2.0 federation Role we ...
2
votes
2answers
14 views

Created AWS EC2 instance from snapshot AMI, eth0 is missing after startup

I recently created a new EC2 from a snapshot of our Production EC2. The machine started up fine, and I can ssh in, however - cannot access via anything else. No WWW, nothing. Upon further inspection ...
0
votes
0answers
4 views

How can I setup CodePipeline and CodeCommit in different regions?

I have my code (CodeCommit) in Ireland and my ECS cluster in London. I want to setup a CodePipeline, so when commit new changes they are deployed to ECS cluster. Currently, I'm not able to do that ...
0
votes
0answers
8 views

nooby questions on aws and aurora serverless

We are currently in the process of moving our dev and production work on AWS. I was assigned to create the necessary VMs and databases, so I am reading here and there about these, since this is my ...
-2
votes
0answers
8 views

which is the best opensource tool to migrate vm to aws [on hold]

Which is the best open source tool to migrate vmware esx based vm to aws cloud ?
0
votes
0answers
5 views

Alternative of AWS SSM for configuration compliance in GCP

we want to implement compliance monitoring in our cloud environment. For AWS, we are using AWS SSM to do it. But there is no alternative product in GCP, the only thing that will have the same ...
2
votes
1answer
14 views

AWS SQS behavior with multiple Lambda Triggers set

I've got an SQS queue set up with multiple Lambdas configured as triggers. While this is allowed by AWS's API it's not clear what the intended behavior is. For example, is one message pulled off the ...
2
votes
2answers
35 views

Do I need an SSL certificate on my EC2 server even when I have a load balancer?

Starting to setup a Load Balanser in AWS, I ran into some additional questions. Basically I have a web site/app deployed in an EC2 instance. I'd like to make it secure by using an AWS generated cert ...
0
votes
1answer
10 views

Ssh key management in AWS like gcp

Google Cloud really Nails the SSH Key Management thing out of the box and AWS leaves it all up to you. In gcp your gcp login credentials are also used for SSH access. gcp automatically creates SSH ...
1
vote
1answer
16 views

Unable to create rds instance using cloud formation?

Iam trying to create an rds mysql instance using cloud formation.But when iam creating the stack iam getting rollback.Under events the error for creating rds instance is "Encountered unsupported ...
-2
votes
0answers
34 views

WWW to https:// nginx [on hold]

No matter what the visitor types www.example.net or http://www.example.net or http://example.net i want all of the requests to be redirected to https://example.net currently i have managed to ...
0
votes
1answer
19 views

Accessing Splunk instance via AWS

I signed up for a Udemy course on Splunk. I got through to the lecture on setting up an AWS instance of Splunk. Amazon says, "Get the IP of your instance, append :8000" and dump it in a web browser ...
0
votes
0answers
27 views

AWS redundant file share solution for Windows

We are looking for a recommendation on setting up a redundant file share in AWS. AWS does provide the Amazon EFS (Elastic File Service), though it only supports NFS and doesn't play well with windows ...
3
votes
1answer
41 views

how to get public ip of instance using cloud formation

I want to output public ip of my instance in cloud formation.This is the relevant part of my yaml file.What attribute i have to specify to get public ip. (Here myec2 is where i described my instance) ...
1
vote
0answers
15 views

AWS SSM deleting its own files as part of its execution. Any way to safely do it?

Is there a safe way to delete all of an AWS SSM runRemoteScript directory as part of execution? Details below. We've got a very robust AWS SSM setup working involving a python app that polls AWS, ...
0
votes
0answers
7 views

Connection timeout when connecting to ASP.NET MVC app on AWS

I followed this tutorial and had success getting the demo project to run, but after using Amazon's deployment extension for Visual Studio to deploy my real application just as I had done for the ...
1
vote
2answers
30 views

Alternatives for enabling SSL on EC2

I have an existing AWS EC2 instance which contains both an application server and a web server (apache). My external DNS directs traffic from www.x.com, api.x.com, oa.x.com to the instance via it's ...
1
vote
2answers
59 views

How to determine process which makes DNS Request? [duplicate]

I have a server on AWS, GuardDuty started send me notifications: *** "type":"Backdoor:EC2/C&CActivity.B!DNS", *** {"domain":"libcurl.so","protocol":"UDP","blocked":false} *** is querying a domain ...
1
vote
1answer
41 views

What application structure for Load Balancing HTTPS/Websockets with many domains on AWS with Docker

We are having an application that heavily relies on websockets. As our Application is software-as-a-service, our clients can use their own domains (and forward them via CNAME to our servers). At the ...
0
votes
1answer
16 views

vpncloud not working on EC2 (Ubuntu) [but works between Azure and GCP]

I'm attempting to set-up VPNcloud (https://github.com/dswd/vpncloud.rs/wiki) as a private VPN for my EC2 instance (running Ubuntu). I'm using this for a private network between this EC2 VM and my GCP ...
2
votes
1answer
60 views

Backing up Apache access logs to S3

I am trying to backup Apache 2.4.27 logs on Amazon Linux 2016.03. I am trying to do so without writing a shell script, and I do not want to configure AWS access key and secret key on my Linux machine.
3
votes
1answer
187 views

What is a good subnet strategy for AWS VPC? [on hold]

I currently have each VPC per cluster (stg, prd, tst, misc) and the standard clusters (stg, prd) have these subnets: elb: for public elb(s) that will received direct public traffic elb-int: for ...
1
vote
1answer
18 views

AWSApplication load balancer - custom headers

I have question regarding AWS ALB. Does anybody knows if it is possible to modify (specifically ADD) custom headers to requests? Something like proxy_set_header in nginx http://nginx.org/en/docs/http/...
1
vote
3answers
23 views

Using S3 as a alternative to EFS for backup purpose

For centralised backup purpose of specific data from my instances, i was using EBS Volume mounted to that instances. Now we are planning to migrate to another region, but EFS service is not available ...
1
vote
1answer
10 views

Mounting EFS Volume in Non available region

Is there any way to mount EFS volume to multiple instances in Mumbai Region. EFS service is currently not available in Mumbai region.Or is there any other service which i can use instead of EFS. I ...
1
vote
2answers
18 views

AWS PowerShell Significantly Slower the AWS CLI

I'm having an issue in that a PowerShell Script takes 10 times as long as a batch file to download files from AWS S3. I have an existing batch file script to move files from one S3 Bucket to another,...
1
vote
2answers
21 views

How to connect to second private network's computers from under OpenVPN?

I'm running OpenVPN on Ubuntu instance and I want to connect to my MySQL database located on the private network. It's AWS/EC2 and RDS. Database has a security group that allows all connections from ...
2
votes
1answer
40 views

NAT gateway for ec2 instances

I have a public subnet with ec2 instnaces. The route table has 0.0.0.0/0 IGW (Internet Gateway) as default. I tested adding a public IP address to my instance (104.27.142.41/32 as reported by curl ...
0
votes
0answers
14 views

Copying over indexes with AWS DMS

I need to use AWS DMS to copy one MySQL RDS instance to the other. I've been tinkering about have set it all up and I've run a successful migration. The issue is it doesn't create indexes. I ...
3
votes
1answer
30 views

AWS lambda fails to access internet, despite having proper IGW, NAT and routing table entries?

I am experimenting with AWS Lambda, with a small piece of code that would fetch some files from S3. Unfortunately I cannot even access internet resources when I put my Lambda function into a VPC, ...
0
votes
1answer
18 views

aws s3 cp files from the root of a subdirectory without getting subfolders as well? Powershell

s3://bucketname/yyyymmdd/foo/bar I have some files in the root directory and I want to copy them. I do not want to copy any subdirectories to the root (foo). I'm trying this in powershell: aws s3 cp "...
1
vote
1answer
41 views

How does CPU Credit consumption rate is calculated on AWS T2/T3 instances?

Can someone explain simply how are CPU credits consumed, i.e. at which rate on T2/T3 instances. I've been going through this example but I could not understand how, in the first example, phase 3, the ...
0
votes
1answer
53 views

NAT setup on AWS

This might sound ridiculous for some, but am trying to setup NAT on lightsail so that I can access my private ec2 instances which are connected using VPC peering. Suppose if 172.31.x.x is my ...
-1
votes
1answer
28 views

cronjob emails look outdated

I had some cronjobs that were running 120 times per hour. 5 were scheduled to run every 5 minutes and 1 was scheduled to run every 1 minute. They sent emails to my gmail account so I could debug the ...
0
votes
1answer
26 views

AWS API Gateway in China

We are planning to launch an app that will be available globally, including China and we plan to use AWS for this. However, because of the "Great Firewall of China" we may run into problems: The app ...
4
votes
3answers
430 views

AWS Solution for wildcard subdomains (with SSL)

Is there a solution within AWS for implementing a wildcard subdomain (with Route 53). where any subdomain ex1.example.com, ex2.example.com or whatever.example.com can all point to the same server? ...
2
votes
1answer
48 views

Access instance behind ELB through OpenVPN server

I want to redirect the traffic through an openvpn server only for some specific domains (dev.mydomain.com, admin.mydomain.com, jira.mydomain.com, etc) which are hosted on some ec2 machines and they ...
0
votes
0answers
10 views

EB: Environment health has transitioned from Info to Severe

I have just created a new environment on Elastic Beanstalk and managed to deploy first time to it. However, after the deploy finished (on Green state of course) the application on EB went to Red ...
0
votes
2answers
56 views

AWS Instance accept connection from VPN in same VPC [closed]

I did setup an OpenVPN server, which works fine and the IP of the server shows instead of my machine's IP. I am using this VPN to connect to EC2 instance, and restricting access to only instances ...
3
votes
2answers
475 views

How to verify the private key I have matches AWS keypair?

My AWS instance says it is configured to use the only keypair I have on my account and it has a fingerprint in the format of: 3c:64:a7:85:53:3f:81:1c:24:5a:d2:6a:5b:76:47:da:f3:14:63:88 I have a ...
1
vote
1answer
40 views

Estimating concurrency limits for an AWS architecture running WordPress

I'm trying to estimate a number of concurrent users a WordPress AWS setup can withstand (that needs to be highly available and support huge loads). I am asked for a loose range that I would say we can ...
0
votes
0answers
19 views

How to handle trailing slash in a redirect rule for an AWS S3 website?

I'm trying to build up some landing pages in my s3 hosted web site. For example: http://www.example.com/products That should redirect to http://www.example.com/products.html To accomplish this, I ...
1
vote
1answer
25 views

Locking AWS Instances connections

I have a couple of EC2 Instances, ranging from Front-end servers, Back-end servers, Database servers and Node servers. They all communicate together and sometimes the developers needs to access these ...
1
vote
3answers
58 views

I have SQS -> Lambda -> SNS (my messages end up in the dead letter queue)

I have a Lambda function that has a fixed concurrency of 1 that has an SQS trigger configured with a batchSize of 10. This Lambda function only publishes whatever it encounters to an SNS topic (the ...
0
votes
0answers
17 views

Redirects to HTTPS Nginx in AWS Elastic Beanstalk with websocket suppport

I have an Elastic Beanstalk environment with load balancer fully working with https and websocket. Now I need to redirect http traffic to https. This is my nginx config file: files: "/etc/nginx/...
0
votes
0answers
22 views

Sending messages to SNS from CloudWatch alarm/filter

Is it possible to configure AWS CloudWatch with a filter/monitor that "listens" or watches for a particular type of log message (ideally with granular or regex-like control where I can tell CloudWatch ...
2
votes
1answer
45 views

AWS cloudwatch not triggering lambda function

I am trying to create a scheduling system for my EC2 instances using lambda functions to start/shutdown the instances and Cloudwatch to trigger and schedule them. The problem is Cloudwatch, not ...
1
vote
1answer
21 views

Launch a batch script with path modification in EC2

I am quite new to AWS but I think I understood how to deploy an EC2 instance, what I am trying to do is install apache tomcat and all that is needed for this on a windows server 2016 using the user ...
0
votes
1answer
22 views

Unable to authorize Amazon API Gateway using API Key

As per amazon's documentation (https://docs.aws.amazon.com/apigateway/latest/developerguide/api-gateway-setup-api-key-with-console.html) I am supposed to see a dropdown near API KEY. Although I have ...