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.

3
votes
1answer
34 views

How to make objects uploaded to S3 bucket readable without explicitly setting their permissions

I want to make objects uploaded to S3 bucket readable without explicitly setting their permissions. Relevant discussion I found about Digital Ocean S3 is here. As in the above and other discussions, ...
0
votes
1answer
32 views

Error #224834. This directory, `/var/www/html/`, is not write enabled according to the server

I am using Amazon AMI linux. And i am using Backupbuddy plugin to migrate from another domain to new domain which is hosted on AWS. I uploaded importbuddy php file and the necessary backup file using ...
1
vote
1answer
37 views

Can not ping interface's public address of my instances

I have basically 2 VPCs where CSR 1000v is deployed in each VPC (CSR1 and CSR2). I attach a drawing my setup below. I created 2 interfaces in deferent subnets within its VPC CIDR in each VM and ...
-1
votes
0answers
22 views

Can not ping interface's public address of my instance

I have basically 2 VPCs where CSR 1000v is deployed in each VPC (CSR1 and CSR2). I created 2 interfaces in deferent subnets within its VPC CIDR in each VM and attached with a Elastic IPs. My problem ...
0
votes
1answer
19 views
+50

AWS transfer RDS mysql to another region without loosing data

I wanted to transfer my mysql databaes from us-east-1 (virginia) to eu-east-1 (ireland) without loosing any data. Also, I want to stop virginia after transfering database from one region to other ...
0
votes
1answer
32 views

AWS CodeDeploy: Script at specified location: … “failed to complete in 5 seconds”

I'm using AWS CodeDeploy and getting an error message: Script at specified location: ... "failed to complete in 5 seconds" the script is called from appspec.yml->hooks:->BeforeInstall: How can I ...
0
votes
1answer
28 views

How to copy mongo db from mongodb 3.0 to mongodb 3.6 on ec2 bitnami image

As the title implies, I need to copy db from ec2 instance with bitnami image that has mongodb pre-installed with version 3.0.9 , to new bitnami ec2 instance that has mongodb version 3.6.8 pre-...
0
votes
1answer
64 views

Running experiments for limited audience in AWS

My goal is to be able to route traffic from Route53 to my autoscaling group using relatively complex rules. Route 53 must provide DNS, and my EC2 instances must service the request, but I'm open to ...
3
votes
1answer
44 views

AWS IAM - AssumeRole within same account?

I'm trying to configure permissions for CloudTrail > S3 > SQS > Splunk workflow. https://docs.splunk.com/Documentation/AddOns/released/AWS/ConfigureAWSpermissions I created a role, attached a policy ...
2
votes
1answer
30 views

Auto-restarting EC2 instance from the most recent snapshot

We have EC2 instances that are EBS based, and they contain state (not critical state, but they have ElasticSearch indexes, Redis, and so on). So our desire is, if it fails, have a new instance to ...
0
votes
0answers
3 views

Go AWS CloudHSM pkcs11 [on hold]

I'm trying to use this go lib to connect to aws cloudhsm (v2 cavium) https://github.com/ThalesIgnite/crypto11 The config instructions look like this: { "Path" : "/opt/nfast/toolkits/pkcs11/...
0
votes
0answers
32 views

Complex request routing in AWS

My goal is to be able to route traffic from Route53 to my autoscaling group using relatively complex rules. Like: 1% of traffic with this value in the url path should be routed to ASG A 0.1% of ...
0
votes
2answers
52 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
20 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
11 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
0answers
8 views

Cloudfront: How to test Path Pattern matching without deploying any changes

I just need a way to test my path pattern for cloudfront first before saving the behavior for the pattern because I noticed that it's taking more than a few minutes for the changes to be deployed. ...
0
votes
1answer
28 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
16 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
51 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
23 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
15 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
20 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
19 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
39 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
24 views

Pulumi Tutorial Error [closed]

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
10 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
31 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
42 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
16 views

I have issue on SSL AWS [closed]

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
38 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
51 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
39 views

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
32 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
12 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
12 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
47 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
21 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
57 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
37 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
18 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
23 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
40 views

promote server to domain controller over internet [on hold]

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
15 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
23 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 ...