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.

Filter by
Sorted by
Tagged with
0
votes
1answer
6 views

AWS SFTP connection closed error

WHen I try to connect with my server endpoint getting connection closed. It should be connected with server endpoint. AWS Connection Closed
0
votes
1answer
10 views

Configuring route to use 2 different interface for outbound traffic

I have followed many articles available on serverfault but i am not able to manage outbound traffic through 2nd nics in ubuntu 16.04. other than serverfault i followed - https://kindlund.wordpress....
0
votes
1answer
7 views

JSON file not rendering when served up from AWS Cloudfront

I have a static JSON formatted file called apple-app-site-association sitting at the root of my webapp (e.g. webapp.foo.bar/apple-app-site-association) which is served up via AWS CloudFront. When I ...
0
votes
0answers
10 views

How to get loadbalancer reach instance's local service at 8080, AWS

A very green networking person here; working in the AWS environment, and have the following: EC2 instance up and running; I AWS Classic loadbalancer (I guess ELB) up and running; LB LB includes I LB ...
0
votes
0answers
15 views

Cross-Zone Route53 alias for ELB resource?

I have an Elastic Load Balancer (ELB), which was allocated by a Kubernetes (k8s) cluster, and has several Hosted Zones in Route53 pointing at the ELB. I'd like to have a single entry in Route53 where ...
2
votes
0answers
47 views

“Update Your Amazon RDS SSL/TLS Certificates by October 31, 2019”

I, like a lot of people, received an email saying to update my RDS instance to use the new rds-ca-2019 certificate for SSL connections (previous being rds-ca-2015 which expires March 5, 2020). Their ...
0
votes
0answers
15 views

AWS Lambda: How to install linux dependency packages?

I'm trying to perform HTML to PDF conversion with class library in AWS lambda function. The HTML converter has some dependency packages to be installed in the environment where the conversion takes ...
0
votes
0answers
14 views

Determining on which machine a packet/update arrived first

I have two separate AWS Virtual Machines set up within a region (different availability zones) both are connected via WebSocket (in Python) to a different load balancer (Cloudfront) of the same host ...
0
votes
0answers
16 views

AWS external static route when IP falls with VPC CIDR

I have a local network 10.10.0.0/16 In a private subnet I have the following in my route table: 10.10.0.0/16 local 10.10.2.3/32 <vgw for vpn> (this doesn't route) 10.102.0.3/32 <vgw for vpn&...
0
votes
0answers
11 views

Nginx - Laravel routes not working in a sub directory

I am trying to run laravel on aws server in a sub-directory, the website functions properly when pointed to root location, but when pointing it to a sub-directory in a URL the routes does not work, i ...
0
votes
1answer
21 views

Understanding how AWS charges S3

This is not a troubleshooting question, rather a more generic one. I have read about how AWS S3 is priced - in terms of storage used, data transfer, requests and other features used. And wrt storage ...
0
votes
0answers
10 views

AWS Managed Microsoft AD for mobile users?

Im reading about AWS Managed Microsoft AD but I have a use case that I'm not seeing documentation for Can I use AWS Managed Microsoft AD to manage out of band mobile windows and mac users? Is there a ...
0
votes
2answers
16 views

AWS Deny NotPrincipal Bucket Policy

I have an AWS S3 bucket called test33333 I need to lock down to minimum necessary permissions. I've created a bucket policy to Deny all except user account MyUser a role MyRole. (account name xxx out)...
0
votes
1answer
26 views

find IP of running spotfleet instances through powershell

I am trying to launch spot instances from Spot Fleet: aws ec2 request-spot-fleet --spot-fleet-request-config file://aws-spot6.json below is json content { "SpotPrice": "0.06", "TargetCapacity": 1,...
0
votes
0answers
11 views

Setting up AWS ALB for Grafana [on hold]

I wanted to know if someone can point me in the right direction as to how I can set up an ALB for grafana on AWS ec2? I have grafana running as a docker container on the ec2 instance and is accessible ...
0
votes
1answer
43 views

kube-proxy not accepting connections on some nodes

I'm running into a really weird situation where kube-proxy doesn't accept connections on a some nodes and I'm frankly I'm stumped. Background: kubernetes cluster is setup on AWS EC2 using kops the ...
1
vote
1answer
82 views
+100

AWS instance Stop and Terminate don't execute systemd stop script

I have a shutdown script that executes just fine after cli reboot or shutdown, but never executes when an instance is stopped or terminated from aws console. [Unit] Description=Gracefully shut down ...
1
vote
0answers
14 views

Is it safe to allow POST access to the multi search API of ElasticSearch

We are running an application using elasticsearch hosted on AWS. The client-side interface uses "ReactiveSearch" for vuejs, which makes POST requests against the "_msearch" interface described here: ...
0
votes
1answer
20 views

Creating an AMI is not copying sshd file settings

I have user and password auth configured for my instances but every one I launch I have to do this at startup: #!/bin/bash sudo sed -i 's/PasswordAuthentication no/PasswordAuthentication yes/g' /etc/...
0
votes
1answer
44 views

How to auto-terminate EC2 instances after 24 hours?

An auto-scaling group launches EC2 instances and it appears that instances that run roughly >24 hours begin to degrade in performance. The longest one was running for 3 days until I manually ...
0
votes
1answer
14 views

Amazon CloudFront default SSL certificate for multiple domain names

A few years ago I setup an S3 bucket and enabled hosting. It's got an index.html file, which I use as a simple landing page. I then setup AWS CloudFront to use this S3 bucket as an origin server and ...
0
votes
0answers
12 views

How To Set Up AWS Console Access to Browse and Restore Files in S3 Bucket That Were Lifecycled to Glacier?

I am trying to set up a mostly read-only IAM profile for a team member to browse our S3 buckets and to be able to initiate a restore from Glacier when needed in order to download / access certain ...
0
votes
0answers
7 views

ALB Gateway time-out 504

I deployed an application to EKS. I'm using Ingress controller with ALB. The healthcheck of this load-balancer has the status Request time-out. When I visit the load-balancer DNS, the web application ...
1
vote
1answer
41 views

unable to create t3 burstable instances with custom VPC

I created a custom VPC with 9 subnets, such that for 3 AZ I have 3 subnets (public, private, and persistence). It has the following configuration: VPC 10.100.0.0/16 Subnets - 10.100.0.0/24 (az1) ...
0
votes
1answer
43 views

How to access RDS publicly?

I created a new RDS postgres db and I want to access it from local computer. I've checked the option to say yes to publicly accessible. What are the other steps needed to access this? I've ...
-1
votes
0answers
31 views

Server Migration Issues witthh SSH [closed]

I Migrated instance from AWS to GCP but I can't ssh from my browser using the open in the browser features on the VM instance panel
1
vote
2answers
21 views

Can I create an openssl key for a server from a different host?

I have two EC2 instances with an ALB and I need an SSL certificate for Tomcat. I don't have shell access to the EC2 instances, I can only work them via Ansible. I have to generate a cert request but ...
1
vote
1answer
25 views

Roundabout traffic from AWS Cloudfront to backend EC2 server

I'm on 'basic support' plan with AWS, and cannot therefore ask the in-house technical experts there. I was trying to set up cloudfront. My backend is at AWS Hong Kong. However, I noticed that traffic ...
0
votes
0answers
35 views

Is there any way to customize AWS CodeCommit notification messages?

Following the user guide (https://docs.aws.amazon.com/codecommit/latest/userguide/how-to-repository-email-create.html), I was able to set up CodeCommit email notification on pull request for a repo. ...
2
votes
1answer
60 views

Failed to connect instance with ALB

I'm trying to build a system like this one: I can't connect to the Instance in private public through ALB. I checked my cloudformation code several times and still couldn't find problem. Please help ...
0
votes
0answers
5 views

NSS/PKCS11 errors in docker alpine wildfly

I am using the woahbase/alpine-wildfly image. I keep receiving the following errors: Caused by: java.security.ProviderException: Could not initialize NSS and Caused by: java.io.IOException: NSS ...
0
votes
1answer
12 views

SQS Cloudwatch Metrics: difference between zero and no-data point at all?

Sometimes when looking at the AWS SQS Cloudwatch Metrics graphs like NumberOfMessagesSent, the graph plotted will show an actual data point at zero, and other times it won't show anything at all. ...
1
vote
1answer
21 views

Can't connect to the instance in private subnet through a ALB

I would like to build a simple AWS structure just like the picture. But I failed to connect the instance by using tera term. I checked everything but cannot find anything wrong, can someone please ...
0
votes
0answers
29 views

AWS EKS worker nodes to Kubernetes master connectivity

AWS EKS creates the k8s master nodes in a managed VPC and the worker nodes are created in customer's VPC. I don't see any route being added in my VPC by EKS for the k8s workers to k8s masters ...
0
votes
1answer
12 views

What permissions are required to run AWS TransferUtility?

Using the AWS .NET SDK's TransferUtility, I can download files using an access key ID for myself, but when I set up a restricted user with read-only access, I get "The remote server returned an error: ...
0
votes
0answers
13 views

How to run RabbitMQ in Amazon Linux?

The truth is I got confused from install RabbitMQ Using PackageCloud Yum Repository guidance. I think I installed RabbitMQ using curl -s https://packagecloud.io/install/repositories/rabbitmq/rabbitmq-...
0
votes
1answer
43 views

How can you change the DNS server used in VPC?

I made a mistake in my configuration and set up my VPC to 10.0.0.0/16 and that conflicts with some of the services run in docker which created an internal network which now has a few containers at 10....
0
votes
1answer
20 views

Want to launch ec2 instance with static public ip using terraform script

I have one staging instance in aws whoose IP is 18.221.1.23. It is an elastic IP. Now I am writing terraform script to automate deployment using packer. Is there any way to assign this same IP while ...
0
votes
0answers
27 views

Virtual Hosts with AWS (Not NGINX)

Is there a way to set up virtual hosts using only an AWS service? I'm trying to map wildcard domains such as *.abc.com to relevant S3 buckets as a multi-site architecture. I need this to happen ...
0
votes
1answer
73 views

How to permanently allow an RDS instance to connect to my server?

I'm using an Amazon RDS instance as a slave to replicate my bare metal MySQL server, as a backup. I'm authorizing the RDS instance's IP in my server's firewall this way: # iptables \ --insert ...
0
votes
1answer
27 views

Monitoring EKS Kubernetes LoadBalancer service Type

I have created few services in Kubernetes with type: LoadBalancer. Platform: EKS. Is there a way to get number of 4xx or 5xx errors from this LoadBalancer? I have tried the following: Prometheus -...
1
vote
0answers
8 views

Routing https in AWS beanstalk

I currently have an AWS BeanStalk setup. I'm attempting to run my traffic through https. In my beanstalk configuration I have my Document root set to /public. This is because I'm running Laravel ...
0
votes
0answers
28 views

Why would AWS Aurora capacity settings not follow the “Pause compute capacity after consecutive minutes of inactivity”?

We have switched from an AWS MySQL RDS to AWS MySQL Aurora for our Wordpress website because of the "Pause compute capacity after consecutive minutes of inactivity" feature that could lower the costs. ...
0
votes
0answers
45 views

(111: Connection refused) while connecting to upstream, client

I'm trying to setup an Nodejs/Express api on elastic beanstalk, and I'm pretty new to it. I'm getting this message in the error.log: 2019/10/02 17:04:17 [error] 5515#0: *15 connect() failed (111: ...
0
votes
1answer
42 views

How to control lightsail costs and determine source of costs

Below is a screenshot of my lightsail instance : As can see the costs have risen considerable over the past few days. Reading the billing section of https://aws.amazon.com/lightsail/faq/ I don't ...
0
votes
1answer
29 views

Optimal (fault-tolerant, low-cost) way to keep a Write-Ahead Log (WAL) in IaaS?

I am working on a greenfield project for a “cloud-native” DBMS, with “cloud-native” meaning that the guarantees (e.g. ACID) it makes will depend on the presence of certain backing IaaS services (e.g. ...
1
vote
1answer
17 views

Production-ready Node/React app - memory utilization issues

I have an app that is deployed on AWS using ECS and recently facing some issues with memory utilization. To give you a little background: Our app is Node.js (specifically Sails.js) backend with ...
-1
votes
0answers
42 views

Website home page not rendering

My website is running on Ubuntu 18.04, with Apache 2 on an AWS EC2 instance. The CMS is PrestaShop 1.16.1.24, and the SSL certificate is from LetsEncrypt. When I run my website without https like so: ...
1
vote
1answer
28 views

Can a EC2 in the private subnet sends traffic to the internet through ELB without using NAT gateway/instance?

I would like to build a test platform just like the picture. In order to make it simple, I want to let the private EC2 outbound the responses to the ELB, and through ELB the responses get to the users....
2
votes
0answers
34 views

Understand S3 cost at folder level

I am planning for a use case wherein which my S3 bucket is used by 10 different users. All these users has separate folders within this bucket, to where they'll store their files. Now I want to know ...