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
2answers
26 views

How to Migrate AWS EC2 Version 1 Instance to Version 2

I currently have a t2.medium EC2 instance running on AWS. I realized that I need to be able to use systemctl in my instance to correctly set up certbot. systemctl is only available on Amazon Linux 2 (...
0
votes
1answer
16 views

Redirect with CloudFront but changing URL

I have an S3 static website and I want to redirect all the requests to the index page. So if you go to mysite.com/this_doesnt_exist it should redirect to mysite.com. I was able to configure this ...
0
votes
0answers
12 views

Centralize logs from Lambda functions

I have several AWS lambda functions, I'd like all their logs to ship into a central logging service such as datadog or papetrail. I know the function logs goto CloudWatch where I can write another ...
0
votes
0answers
8 views

Is Collections (resource) available only for three services in AWS and how to find all the documentation for it? [on hold]

I am having a bit of difficulty in getting to understand boto3 documentation. I want to know if boto3 resource collections are available for only three AWS services (EC2, S3, SQS).
0
votes
1answer
17 views

Does OSPF routing protocol works in AWS?

I'm having troubles with finding the neighbors after the IPIP tunnels configurations where I have 4 VPCs and deployed there 4 CSR routers (for more details about the configuration, I posted yesterday ...
0
votes
1answer
13 views

Python Lambda Network Error

Yesterday I started developing a serverless application in AWS including python lambdas. After testing my code I wasn't able to save it. Normally after pressing "Save" the button changes the color to ...
1
vote
3answers
35 views

Public and private subnet in VPC

IANA established certain blocks of IP as private IP range(shown below) 10.0.0.0 – 10.255.255.255 (255.0.0.0) 172.16.0.0 – 172.31.255.255 (255.255.0.0) 192.168.0.0 – 192.168.255.255 (...
2
votes
1answer
21 views

How migrate directory ACLs when migrating apache between different VMs?

I am copying two directories from my on-prem server to apache on AWS /var/www/my_app, and /etc/httpd When I get the long listing for /etc/httpd I get the following on my local server with all those +...
1
vote
1answer
13 views

AWS set s3 bucket directory access with policy

I'm trying to create a policy on AWS that allows access to specific folders in an s3 bucket. According to the documentation this can be done with the following policy { "Version": "2012-10-17", ...
0
votes
1answer
19 views

I lost ssh connection to my instance CSR 1000v AWS

I erased the configuration of my CSR 1000v bu using the CLI command wr erase and there reload. After that, I lost the SSH connection. I was not able to connect to the instance even though it has a ...
0
votes
1answer
16 views

AWS GuardDuty: Why are we getting, probably false, PortProbeUnprotectedPort findings

I am testing GuardDuty on our AWS account and have some questions... Every EC2 instance we manage, has a single "Recon:EC2/PortProbeUnprotectedPort" finding. Each for different port: EC2 instance 1: ...
4
votes
2answers
37 views

automatically mount ssd on ec2 aws ubuntu 16.04

I am using an Ubuntu 16.04 EC2 from AWS on c5d.2xlarge HW. It comes with a 200 GB SSD called /dev/nvme1n1. I am able to mount this drive using: $ sudo mkfs.ext4 -E nodiscard /dev/nvme1n1 $ sudo ...
-1
votes
0answers
22 views

Pulumi Tutorial Error [on hold]

I am very new to AWS and Pulumi. I am following the Pulumi tutorial on setting up a basic container service with Nginx. https://pulumi.io/quickstart/cloudfx/tutorial-service.html I got to the the ...
0
votes
1answer
9 views

EC2 Windows server recovery options if disconnected from domain

So, I have these Windows 2016 servers. Everything is domain joined. They are running in Amazon EC2. I'm doing some system hardening, using recommendations from CIS. (For reference, the PDF is titled ...
1
vote
1answer
30 views

Migrating EBS volume to another availability zone. Should I snapshot twice for less downtime?

On AWS, I have an EC2 instance for my database server with an attached 250GB EBS volume (200GB of actual data) for data storage. This volume has not been previously snapshotted. I need to move this ...
3
votes
1answer
35 views

How to expose a web service, running as pod in K8s cluster which is deployed on ec2 instance, to external

I have deployed kubernetes cluster (with only one Node as master) onto a ec2 instance. After this, I created a nginx deployment and exposed the service using "Type" as NodePort. The nginx service is ...
0
votes
0answers
15 views

I have issue on SSL AWS [on hold]

I have installed proper godaddy SSL in AWS ec2 ubuntu 14.04 My issue : SSL is working perfectly for 10 mins when I restart apache 2. after 10 min SSL stop working. can anybody please help me to ...
1
vote
1answer
36 views

unable to connect web service running on ec2 using public IP:80

I have this EC2 instance with private IP 172.31.11.204 and public IP 34.205.X.X My web service is running on private IP 172.31.11.204 and on port 31336. Inside EC2, I am able to access the service ...
1
vote
1answer
38 views

AWS flagged my subnet as invalid although it looks to be within the VPC CIDR block

My VPC CIDR block is 10.0.0.0/16 As I understand it, this should support 256 (effectively 254) subnets with 65534 hosts per subnet. When I tried to create one subnet 10.8.0.0/24 and associate it with ...
1
vote
0answers
30 views
+100

What is an AWS CodeStar SyncResource?

I used CodeStar to create a DataPipeline that: Downloads code from my github repo Tests it in CodeBuild, Creates/executes a CloudFormation changeset on a CloudFormation stack that CodeStar created ...
3
votes
1answer
30 views

AWS EC2 - EBS Redundancy

I have an AWS Ubuntu EC2 server running with a single EBS volume. Although I take regular snapshots, I am concerned about data redundancy. In order to make sure no data loss, is it possible to ...
0
votes
0answers
22 views

How to create interfaces for CSR 1000v for GRE tunnels?

Well, my idea is to connect to 4 CSR 1000v routers in different VPC (without VPC peering). I've basically finished with everything with the pre-configuration creating VPCs, subnets IGW, modifying ...
0
votes
1answer
18 views

Windows 2012 AD user failover to AWS Windows AD

We're having a bit of an issue with our local Windows AD not failing over to our AWS hosted AD. We have web portals for our support staff to log into with AD credentials. When our on-premise AD "...
1
vote
1answer
10 views

Athena query results cleanup

Each time you run a query against Athena using the aws CLI tool, 2 files are created in the query results location. Over time this location is going to contain a LOT of files unless they're cleaned ...
0
votes
0answers
11 views

AWS Elastic Beanstalk: Routing system mails to real email address?

How can I from within Elastic Beanstalk instances have system emails routed to a real email address instead of just piling up in like /var/spool/mail/root? I thinking of both system-wide emails by ...
0
votes
2answers
11 views

AWS Elasic Beanstalk : Retrieving environment URL from within instance?

From within a Beanstalk instance, how can I programmatically retrieve the URL for my environment? I need to know this because the instances need to know whether they are running in production or I ...
1
vote
1answer
21 views

Can i run c++ on aws elasticbeanstalk in php application

Since cloud instance is just a machine hosted remotely it should be able to behave like a local server. I have written some programs in C++ which I usually call in a PHP file through exec() function ...
0
votes
0answers
34 views

URL Mask: Can I mask a url on a different server with a different domain?

A client has requested to mask their URL with our own so instead of websitetwo.com it would fall under websiteone.com/websitetwo. These are two totally different servers and I have searched for an ...
-2
votes
0answers
17 views

Frequent restarts of systemd-resolved on Ubuntu 18.04

After upgrading an EC2 instance to Ubuntu 18.04 I started getting occasional errors Resolving DNS for my database server in my PHP scripts like the following: Uncaught Exception: PDOException: PDO::...
2
votes
1answer
52 views

Limit public access to AWS ECS Fargate Service

I have a service on AWS ECS deployed using Fargate. This service uses a Network Load Balancer (NLB) to allow an Elastic IP to be associated with the service. This is not an http service and is using ...
1
vote
0answers
33 views

Container runtime/kubelet failures on EKS cluster nodes

I'm currently working with a Kubernetes cluster, hosted on AWS with EKS, that is encountering strange (to me) failures. Our nodes (instance type c5.2xlarge, AMI ami-0f54a2f7d2e9c88b3/amazon-eks-node-...
0
votes
0answers
16 views

an AWS user cannot have more than one Workspace? “A WorkSpace already exists for the specified user.”

I set up one AWS linux workspace for myself and now I'm trying to create a windows one for myself. When I try to use my user name from my company's directory and create the workspace, I get the error ...
0
votes
1answer
22 views

Active internet connections returned by netstat -an is blank inside docker container

I am new to the concept of dockers and containers. So sorry if I frame the question in a wrong way. The issue is - An aws EC2 instance which is running docker is failing load balancer health checks. ...
0
votes
0answers
37 views

promote server to domain controller over internet

I have been facing this issue well over couple of weeks now. I can use some guidance and help. Current Setup: Aws ec2 instance (windows 2012 r2 server) hosting "abcd.com" domain. It is also a DNS ...
1
vote
1answer
14 views

How can I list private zones associated with a VPC that are hosted in another account?

I can use a set of AWS API commands to associate a VPC with a private zone hosted in another account. That way, name resolution works in the VPC even for the zones that are defined elsewhere. Here'...
0
votes
0answers
22 views

Error URL routing in AWS Route53 to EC2 after email service configuration

I configured the DNS based URL routing to my AWS EC2 instance successfully using Route53 at first and got the expected response. Later on I went on to add multiple Record Sets in order to configure ...
1
vote
0answers
24 views

Elastic Beanstalk environment and security group config for ELB health checker?

I have an Elastic Beanstalk environment that I can't get Health Checks to work on. Here's my Elastic Beanstalk's Load Balancer configuration: My healthcheck URL is /status/ My EC2 security group (...
0
votes
1answer
11 views

Wildfly Cluster w/S3 Ping and IAM Instance Role?

I've successfully managed to deploy a Wildfly cluster in AWS, using the jGroups S3_Ping functionality rather than the normal broadcast method. However, all of the documentation I've seen requires me ...
0
votes
1answer
23 views

What is the difference between AWS Certificate Manager Private Certificate Authority and AWS Certificate Manager?

What I understood yet (though not sure) is ACM is free but ACM PCA charges to generate each certificate. ACM can be used to generate certificated for ELB or CloudFront level while ACM PCA can ...
2
votes
1answer
63 views

How to do routing between the instances in AWS using Route Table?

I have built the following model below. There are 4 instances which have CSR 1000v router deployed in 4 created subnets (green CIDR) that have 28 as a mask. I have created other subnets in order to ...
2
votes
1answer
47 views

Why may AWS t3.micro in Singapore respond slower than t2.nano in N. Virginia from Bangladesh?

I have a t2.nano instance running in North-Virginia availability zone (us-east-1) for almost 1 year. In hope of reducing latency, I just have deployed the created AMI of that instance to a t3.micro ...
1
vote
1answer
27 views

Assign Public IP address to an instance through cloud-formation

This cloud formation template works as per my expectations. But when I enable Private IP address parameter, I get an error. { "Resources":{ "MySpotFleet":{ "Type":"AWS::EC2::...
2
votes
1answer
34 views

Serving backup/fail-safe object on AWS S3

What would be the easiest way to serve backup/fail-safe object when the originally requested object is not available in the bucket? For example, currently our users can upload custom profile photos ...
-2
votes
0answers
38 views

Can Cloud Providers charge for unused Virtual CPU hours? [closed]

I have seen some of the smaller cloud providers (Digital Ocean/Linode/Vultr for example) claim that when you have allocated a VM (Droplet/VPS/Instance) every single resource should be billed to the ...
2
votes
2answers
89 views

Is swap file required for a Postgres database running on AWS EC2 instance with 122 GB memory?

What is the downside for running a Postgres database without a swap file? This database resides on an AWS EC2 machine with 122 GB memory.
2
votes
1answer
48 views

How to change the EBS volume size

I can initiate a spot EC2 instance using the AWS command line tool. aws ec2 request-spot-instances \ --spot-price 0.01 \ --instance-count 1 \ --launch-specification \ "{ \ \"ImageId\":\"...
1
vote
1answer
51 views

Enabling SSLv2Hello causes SSL handshake failure against AWS endpoints

We are hosting on AWS, and all our endpoints use predefined security policies that do not allow TLS below 1.2 (that is, TLS-1-2-2017-01 for ELB or TLSv1.2_2018 for CloudFront). One of our customers ...
1
vote
1answer
17 views

AWS Lambda/GCP Cloud Functions for containers

I am looking for a service that is similar to AWS's Lambda or GCP's Cloud Functions but allows for the running of arbitrary containers. The use case is that at random times I need to run a Docker ...
1
vote
2answers
93 views

t3.medium and c5.18xlarge EBS initialization performance is same, or am I doing something wrong?

When booting up an application from an AMI we noticed increased response times and increased rate of request time-out errors, slowly tapering off and going back to normal. I figured this is due to EBS ...
0
votes
1answer
40 views

Recipient address wildcard support in AWS SES

The question is similar to this one; When receiving email via SES, it would be helpful to have some basic wildcard support when generating receipt rules. We have a use case that relies upon ...