Newest 'amazon-web-services' Questions

Q&A for system and network administrators

Setting up health check for EC2 instances with DataDog

I have an existing AWS infrastructure which is integrated with DataDog, which is responsible for monitoring various metrics, e.g. SQS queues, ELB, etc. I'd like to set up a health check for some web ...

Can't Login to EC2 instance after changing Public to Elastic IP

I have a EC2 linux server, where a website was running properly on Apache web server. It was running on a public IP. I changed the public IP to Elastic IP but it stopped my website. So I again ...

Access EC2 Instance Without Public IP

I have two EC2 instances, one with a public IPv4 Public IP and one without one. I have the passwords for both and can successfully log into one (with the IPv4 Public IP), but am unable to access the ...

How to eliminate 'Identity added' message in terminal generated from ssh entry in .bashrc file?

I set up a VPC on Amazon Web Services where I ssh into multiple Ubuntu AMI's from one bastion host AMI. I added: ssh-add /home/myuser/.ssh/aws.pem to my .bashrc file on my local machine (Ubuntu 16....

Duplicate a folder (size 150MB - 200MB) of one S3 bucket to another S3 bucket of different region using PHP

I want to copy a folder (size 150MB - 200MB) of one S3 bucket to another S3 bucket of the different region using PHP or in S3 term "duplicate all objects with the prefix of an S3 bucket into objects ...

vsftpd put and get not working in SUSE linux

I have installed vsftpd on SUSE Linux which is hosted in AWS. I am able to connect to the FTP server from my local windows machine with username and password. I am also able to execute commands like ...

AWS error rate monitoring for nginx app

What is the best way to get error rate (errors as a proportion of responses) monitoring for an nginx app on an EC2 server in AWS? I'd like an alarm if the percentage of 500 responses goes above a ...

Issue with webp image format in AWS S3

I have an Image Server infrastructure with the following design: All my images are stored on S3, which is behind an nginx server. There are a lot of images in S3 in webp format. However on browser ...

Does AWS support multiple VPN connections to one VPGW / VPC?

In AWS we currently have one working VPN connection into our VPC subnet "prod". We'd like to make another VPN connection to the same VPC subnet. Turns out one VPC subset can only have one Virtual ...

Access to AWS console for third party using cross-account?

There are two companies: Client and Contractor. Both have AWS accounts. I'm looking for simple but secure way to get staff from contractor team access to client's AWS console. Yep, I'm on the ...

How do you open a remote powershell session on an EC2 instance in a private subnet on AWS?

It's possible to open a remote powersheel session when the AWS instance has a public IP (http://stackoverflow.com/questions/21920773/execute-powershell-script-remotely-on-amazon-ec2-instance-from-my-...

nodeJS script can connect to aws mySQL server when run on laptop, but not when run on amazon EC2 instance

I recognize that this seems like a similar problem to Why can't I connect to Amazon RDS after setting it up? However, I have done what is suggested in those responses and do not have a solution. ...

Determine the Purchasing Option of an EC2 Instance after it was launched [closed]

Is there a way to determine the purchasing option of an ec2 instance after it was launched? I just tried instance metadata but I do not find anything relevant there.

Can I re-use an EBS volume with AWS ASG?

I want to create an ASG such that I can reuse existing EBS volumes (because I have persistent data on those volumes) to new EC2 instances that are instantiated via ASG. Is this possible? Update ...

Require Amazon Web Services ELB to honour my TLS connection

I am pretty new to ELB in AWS stack and have got a requirement where the two components running on two EC2 instance to communicate over TLS and there is a TLS level authentication by component 2 from ...

Amazon Glacier Job Inventory Download Not Available

I run the following through the AWS CLI interface. aws glacier list-jobs --account-id=xxxxx --vault-name=MyVault And I get a list of jobs I have requested for Glacier. I currently have a Vault ...

Why is my AWS instances suddenly becoming irresponsive reporting high “stolen” CPU

The setup I have a bunch of t2.small EC2 instances running hosting the image processing library called thumbor for simple on-the-fly image resizing. Originals are loaded from S3. In front of the ...

Which apache modules are required in an e-commerce website [closed]

So, I have an ecommerce website to be hosted in AWS. I am using Amazon Linux with httpd24 and php56. While finetuning httpd, I notice there are a bunch of modules being loaded. Which of these are ...

Aggregating logs in AWS CloudWatch

I have a web request log with the following structure: [ts, app, controller, action, method, url, elapsed] I would like to see requests that are taking elapsed > 1000 grouped by app, controller ...

SSL on nginx behind AWS ELB, http to https redirect

Setup: AWS ELB: http to http tcp:443 to tcp:443 (for SSL termination in Nginx) Health check: https over 443 Nginx configured as: two separate server blocks. One with 443 ssl and one for 80. AWS ...

What AWS service to avoid CORS issues with S3 static content and aws backends

Introduction I've got the following architecture deployed on Amazon AWS. The goal is to expose a web application (single page application) acting as an entrypoint at https://app.acmecorp.com. This ...

I would like to confirm if the ipv6 subnet is public

I recently created a AWS VPC with IPV6 CIDR block. The CIDR block which is allocated to me is 2600:XXXX:XXXX:9500::/56. I have some basic knowledge about ipv6 subnet range including ipv6 public ...

Just created a simple postgres db using AWS RDS. However, I'm not able to connect to it unless I provide My IP in my security group inbound

I just created a simple postgres database. It gave me a link that I could use to connect to it, so I tried connecting using pgadmin but it gives a timed out error. So, I read the documentation again ...

LAMP stack, read/write access to only specific directories

I'm considering setting up an AWS micro-instance from which I can run a number of different, unrelated websites. An issue I've had with my shared hosting is that some of my clients run Wordpress ...

Securing CloudFront video on a SaaS platform

I have few videos which needs to be embedded in a SaaS LMS platform. Is there a possibility of making it available only if played from the SaaS platform. I looked at the Origin Access Identity - they ...

Are AWS IAM user names case-sensitive?

As I'm creating users in AWS IAM, I want to know whether the user names are case-sensitive or not.
+50

Enabling ChrootDirectory breaks my SFTP on AWS, gives error for wrong dir

I'm trying to set up an SFTP server on AWS that multiple customers can use to upload data securely. It is important that they are not able to see the data of any other customer, and to do that I need ...

Display and edit file through jenkins

I have some json and python configuration files in my aws environment which needs to be edited or modified on a daily basis. My intention is to write a job in jenkins which can pull the current file ...

Cronjob not working at autoscaled instance's creation

We're trying to work with AWS EC2 auto scaling groups. We created an instance, set up like we need with ubuntu 16.04 and all the software we need, then made an image from that instance. We then ...

microservice (docker container) managing dynamically based on incoming traffic

Hold on! Please, don't downvote this question. I know the custom in stackexchange. I don't know any experts in this domain. My supervisors don't even know what is docker. I know there are thousands of ...

File doesn't exist when trying to run as sudo

Running sudo /usr/local/sbin/sudo_nginx_test returns the following error: sudo: /usr/local/sbin/sudo_nginx_test: command not found /usr/local/sbin/sudo_nginx_test definitely exists and I can nano the ...

AWS API Gateway use HTTP instead of HTTPS

I have an IoT device that is posting data to an AWS API Gateway. The device can not currently use HTTPS. Is there any way that I can get the API gateway to accept a standard HTTP POST request?

AWS apache optimization

Not sure if it is fit for ServerFault... We have an e-commerce website, which we are planning to host on AWS. The CMS engine is Drupal7. I have plans to use 2 m4.xlarge (4 vCPU 16GiB) autoscaled ...

Disable and enable AWS services

There is a way to disable all AWS services from a account AND make a backup from every configuration (S3 buckets, SNS topics and subscriptions, Lambda functions) for enable everything in the future? ...

basic authentication failing with mod-proxy-fcgi and php7.0-fpm

Ubuntu 16.04 LTS running on AWS instance. Apache 2.4.18 / PHP7.0-fpm Problem is with basic-auth. I'm trying to pw-protect /var/www/html/admin//. I find that all non-php files are protected - but ....

AWS DNS resolution only resolves internal IP one way?

I have three instances in two separate VPCs. I've set up peering between the VPCs, both VPCs have DNS Resolution and DNS Hostnames enabled, the peering connection has "Allow DNS resolution from peer ...

https://domian.com gives ERR_CONNECTION_TIMED_OUT

Our domain is registered with GoDaddy and hosted on AWS. in GoDaddy we have CNAME entry for www -> mylb_abc.... (AWS Load Balancer address). Also, the domain is forwarded to http://www.domain.com in ...

elasticsearch-jdbc with aws managed elasticsearch

How can I send data from MySQL to AWS managed Elasticsearch? I followed the steps but so far no luck. Is it possible to use elasticsearch-jdbc with aws managed elasticsearch. Below are the steps: ...

Cannot authenticate to Docker in Elastic Beanstalk through S3

http://docs.aws.amazon.com/elasticbeanstalk/latest/dg/create_deploy_docker_image.html#docker-singlecontainer-dockerrun-privaterepo Following the instructions here to connect to a private docker hub ...

Is there a way to send SNMP traps to Cloudwatch?

I want to send SNMP traps directly to Cloudwatch. Does AWS have a native means of receiving SNMP traps?

Elastic beanstalk launched inside of my VPC is having issues launching

I am having issues launching an Elastic Beanstalk application inside my VPC that I created. My VPC looks like the following: id: vpc-a1b name: vpc-green cidr: 10.0.0.0/16 route table: rtb-1ab acl: ...

Out of memory debugging Ubuntu / AWS

I have a new server that has been frequently raising Out of memory errors. This has resulted in a several processes being killed by oom-killer, and I can't work out why. It's on AWS (EC2), with 4GB ...

How to set multiple users in Amazon RDS for SQL 2012?

How to set multiple users in Amazon RDS for SQL 2012? I have created an account using my email account authentication and my developer is asking my email account credentials to deploy the database in ...

How to grant access to an SQS to a specific IAM user

I need to create a really simple IAM policy and grant it to a specific queue. I need to grant access (it should be a full access) to the queue only to specific IAM user. Because at the moment by ...

questions to tag volumes by salt, either state or module?

How salt can tag ec2 ebs volumes? I have tried all different ways I could think of, but non of them working: First, tag volumes in profile: block_device_mappings: - DeviceName: /dev/sdb ...

Why is CVE-2016-2107 still showing up after upgrading openssl?

I customer presented us with the results from a scan on ssllabs.com with an overall F rating. All due to: OpenSSL Padding Oracle vulnerability (CVE-2016-2107). From researching I believe that this ...

AWS EFS Backup using Datapipeline

I want to take backup of my EFS production environment. I have setup solution as defined in walk through with 2 EFS Production & EFS Backup I created 4 security groups : 1) efs-mt-sg (EFS SG) &...

Workaround for lack of init-file on AWS RDS MYSQL [migrated]

I'm trying to replicate my existing hosting configuration on AWS. My problem is that in the current MARIADB configuration, I have an init file that loads several memory tables. And apparently AWS ...

Amazon ECS Network traffic and ports

I have created a four subnet VPC, where two subnets are private and two public. Instances in the private subnet has only private IP's and reach the the internet through an IGW/NAT GW. I can ...
+50

Rewrite “from” for specific “to” addresses

We have a setup where postfix sends mails via Amazon SES relay. All is working fine except email forwards. While this topic has already been discuessed at least here and here, there are still some ...
Translating... 0%