As of May 31, 2023, we have updated our Code of Conduct.

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
1 answer
17 views

What is the corresponding AWS EC2 level for this specification?

We'd like to use AWS to build code. Below is the specification for the build server, is there any corresponding hardware level for AWS EC2? Ampere AC-1GB06A1S5 - Mt. Snow SATA DVT L6 2U Altra Server ...
skyline's user avatar
  • 101
0 votes
0 answers
14 views

AWS SES and sendmail (multiple domains)

guys! I'm trying to setup my server to send emails through Amazon SES but i'm stuck at this point: Add the following lines to the /etc/mail/sendmail.mc file before any MAILER() definitions. define(`...
0 votes
1 answer
23 views

Logging custom request headers with AWS CloudFront

What is the best way to log custom HTTP headers like X-Foo: bar received by CloudFront? I haven't tried Real-time logs, but Standard access logs seem to log only the pre-defined set of fields/headers. ...
Greendrake's user avatar
  • 1,361
0 votes
0 answers
19 views

Enable MFA S3 delete

I have THALES TOTP hardware tokens (MFA) which I would like to use as and additional protection against the accidental S3 object deletion (https://docs.aws.amazon.com/AmazonS3/latest/userguide/...
STeN's user avatar
  • 1
0 votes
0 answers
7 views

How to import an aws_spot_instance_request into Terraform?

I'm looking for a way to import an aws_spot_instance_request into Terraform. I already made a Spot Request on AWS console, now I would like to put this request on my code. How can I do that? In the ...
Arrow Root's user avatar
0 votes
0 answers
26 views

How do I add ngx_http_geoip2 to an AWS ARM EC2 Instance

I have a working nginx server using an ARM EC2 instance. I tried to follow the steps here to add the module but when I try to run sudo make install the version doesn't update (currently trying to ...
Jackie's user avatar
  • 141
1 vote
0 answers
24 views

Why am I getting "Permission Denied" when trying to write to NFS mount using AWS EC2 EFS mount as server and OSX as client

I have a folder like this $ ls -al /mnt/efs/main/ total 8 drwxr-xr-x. 3 root root 6144 May 24 02:35 . drwxr-xr-x. 3 root root 18 May 23 23:59 .. drwxrwxrwx. 2 nobody nobody 6144 May 24 03:04 ...
Jackie's user avatar
  • 141
0 votes
2 answers
48 views

ansible - couldn't resolve module/action 'amazon.aws.s3_object' / The module amazon.aws.s3_object was not found in configured module paths

Per requirements, I did installed all the required packages, however amazon.aws.s3_object is one of those things: couldn't be resolved/found was not found in configured module paths step(s), I used ...
alexus's user avatar
  • 13k
0 votes
1 answer
44 views

AWS ALB - Redirect to DNS accessible with Transit Gateway

I have two VPCs: Inbound VPC with CIDR 10.0.0.0/16 (2 public subnets) Private VPC with CIDR 10.1.0.0/16 (Private endpoints) Both are connected with a Transit Gateway and I can resolve the DNS and ...
user1911's user avatar
  • 133
1 vote
2 answers
54 views

How to find RDS public IP. - AWS

I have a command to connect the RDS instance, but I don’t know where this public IP address comes from. Where I can get the public IP address? I took over a project. There is a RDS connection. ...
Bob's user avatar
  • 11
0 votes
0 answers
17 views

AWS AppStream is unable to push session script logs to s3

I have configured session scripts to log stdout and stderr to s3 bucket as described in https://docs.aws.amazon.com/appstream2/latest/developerguide/use-session-scripts.html#enable-S3-bucket-storage-...
MPP's user avatar
  • 1
-1 votes
1 answer
44 views

Ansible Playbook: Failure to Transfer file

Running into an issue that I cannot figure out. I am attempting to update an ubuntu server (basically "sudo apt update) - please see code below: test.pkr.hcl packer { required_plugins { ...
SavageSuga's user avatar
0 votes
1 answer
35 views

How to set a default account for multiple aws providers in terraform?

I need to create resources for multiple accounts in my terraform code. So, I have created multiple providers in aws and using the same for individual modules. Other than above, if I create any ...
Meghana d's user avatar
0 votes
0 answers
19 views

Elastic Beanstalk deploy app in private VPC without public ip address for EC2

I'm currently developing a NodeJS application that I want to deploy in Elastic Beanstalk (EBS). To isolate & secure my cloud resources I'm using VPCs where I deploy the EBS app and also my ...
Marc Becker's user avatar
0 votes
1 answer
33 views

Elastic IP not working for Network Load Balancer

I have created a Network Load Balancer on AWS with two public subnets. For one of the subnet, I have allocated a static elastic IP. When trying to reach the NLB using the static IP I get ...
revy's user avatar
  • 101
0 votes
1 answer
66 views

Best practice for storing personal information on AWS that we shouldn't be able to see

We store customer information that we shouldn't have access to, and don't want to inconvenience users by making them lose information if they forget their passwords, is there a good way to solve this ...
ze234we23's user avatar
1 vote
1 answer
57 views

"Target KMS key" error when trying to enable backup replication on an AWS RDS instance

I created an RDS database instance using the AWS user interface, and I made sure that the "Backup replication" feature was enabled and I specified the ARN for a symmetric multi-region KMS ...
pacoverflow's user avatar
0 votes
0 answers
47 views

AWS Lambda's indirect S3 requests

I noticed AWS Lambda causes S3 tier 1 and 2 requests. Do these cost anything after 12 months free tier expires? Specifically: Create new AWS Lambda function in AWS console causes 1 tier 1 S3 request ...
fejyesynb's user avatar
  • 101
0 votes
1 answer
20 views

AWS: routing back from VPC to an instance

I'm relatively new to AWS and need to set up some internal infrastructure. Example: a VPN server that routes people into a VPC. I have a VPN server instance bound to an elastic IP that has a subnet ...
Yuri's user avatar
  • 3
0 votes
1 answer
26 views

EKS service SSL endpoint

When creating a service using EKS, it is exposed using http through a AWS load balancer. kubectl apply -f service.yaml - Will create a load balancer that's managed by EKS, and can not be modified. any ...
Aviran's user avatar
  • 101
0 votes
0 answers
13 views

EC2 vertical scaling in Auto-scaling group

What are the methods/services/best practices on AWS to vertically scale EC2 instances in Auto-scaling group. I found that Ops Automator V2, but their Github scripts are more than 2 years old. Not sure ...
Markus's user avatar
  • 101
-2 votes
1 answer
48 views

about setting up your local AWS development environment

new to AWS here. Wanted to set up my new Project on the cloud and donate some money to Jeff. How would you set up your local environment today when starting a cloud project? I have issues seeing the ...
n79qk272x57w46w9's user avatar
-2 votes
1 answer
81 views

I have 2 AWS accounts A and B. On premises client network c. I have a VPN tunnel from B TO C which works fine and A TO B with peering

I have 2 AWS accounts A and B. On premises client network c. I have a VPN tunnel from B TO C which works fine and A TO B with peering. can we communicate from A to C with the help existing VPN tunnel ...
sairam's user avatar
  • 1
0 votes
0 answers
38 views

AWS EC2 ssh: connect to host, port 22: Operation timed out, nothing has changed?

I'm sure a number of you were seeing red and ready to hit that downvote button as soon as you saw this question popping up again. It really does pain me to be asking a question that was seemingly ...
joeybab3's user avatar
  • 101
0 votes
0 answers
41 views

How to see what is my Amazon elastic beanstalk rds password?

How can I retrieve the database password for my Elastic Beanstalk environment running on the "Aurora MySQL" engine? I have an IAM user with the necessary permissions to manage the ...
Muzamel Saleem's user avatar
0 votes
0 answers
12 views

Cant ssh to ec2 created from AMI of recently patched server

One of my ec2 instance "patched-server-1" was running of kernel version 4.18.0-240.1.1.el8_3.x86_64 and then I did patched the server and current kernel version is 4.18.0-425.19.2.el8_7....
sunny's user avatar
  • 1
1 vote
0 answers
33 views

Changing hosting server to a website without having the certificate from the CA

I have been helping a friend who published a wordpress webpage developed by a company he contacted that on production has a really poor performance, to fix this I created a react static web page which ...
user14398375's user avatar
0 votes
0 answers
25 views

SecurityGroupPolicy not applied to DaemonSet

In my EKS cluster, I have a deployment and a daemonset. The following SGP binds my deployment's pods to a couple of SecurityGroups I need: apiVersion: vpcresources.k8s.aws/v1beta1 kind: ...
Fabio B.'s user avatar
  • 299
0 votes
1 answer
61 views

Amazon Linux 2023 HTTPD failed to start

I have an AWS instance which I use on demand, I was trying to boot it up and start apache but got this error which I have looked up and couldn't get anywhere near resolving or diagnosing it The job ...
megz's user avatar
  • 13
-2 votes
0 answers
82 views

EC2 instance cannot use hostname without domain name when using AWS Route 53

This is my current AWS setup: VPC with the default DHCP option set with the Domain name server AmazonProvidedDNS and Enable DNS resolution and Enable DNS hostnames enabled. I assigned a subnet, a ...
doom4's user avatar
  • 97
-1 votes
0 answers
38 views

AWS website with domain registered elsewhere won't respond

We have a website set up on an AWS instance (eu-west-1 region) and a domain registered with another registrar. The AWS site has an elastic IP associated. I have set up the DNS A-records of some sub-...
philu's user avatar
  • 1
0 votes
0 answers
67 views

botocore.exceptions.ClientError: An error occurred (InvalidToken) when calling the ListObjectsV2 operation

I have an mlflow server that is hosted on aws, that uses s3 in the background for storage. I am trying to run a lambda-function that runs a python script which accesses the mlflow server, loads a ...
ptushev's user avatar
0 votes
1 answer
93 views

Why are cloud platforms like Azure or AWS more expensive than dedicated server providers like Hetzner, OVH or Strato?

I'm wondering why cloud platforms like Azure or AWS tend to be more expensive than dedicated server providers like Hetzner, OVH or Strato. What factors contribute to this pricing discrepancy, and are ...
tcwlm's user avatar
  • 11
0 votes
1 answer
80 views

AWS Lightsail + Bitnami WordPress - Changed DNS to Cloudfare - Giving too many redirects

I have setup a WordPress website in AWS Lightsail (uses the Bitnami Wordpress). And I used the bncert-tool using the command sudo /opt/bitnami/bncert-tool to install the SSL. I have forced www version ...
Vpp Man's user avatar
  • 103
0 votes
0 answers
25 views

Why cant I get any kind of traffic from my AWS EC2 instance with a public IP?

Complete beginner to networking and im trying to deploy a simple express app on a windows instance of ec2 and I cannot find a single resource that explains the steps I need to take to make it happen ...
Thugsy49's user avatar
0 votes
0 answers
20 views

How to snooze all cloudwatch alarms at specific time?

I am trying to setup snooze option for all alarms in my AWS account. To accomplish this I have tried the below terraform code. I kept my account id as dummy value 12345678. resource "...
Meghana d's user avatar
0 votes
2 answers
37 views

How I can Log what and who can access and where my S3 bucket?

Recently I received an email in order to tell me that some IE connections has access to my bucket: eu-central-1|media.myapp | REST.GET.OBJECT|TLSv1|9|[Mozilla/4.0 (compatible; MSIE 7.0; Windows NT 6.1;...
Dimitrios Desyllas's user avatar
0 votes
1 answer
56 views

AWS cannot connect to any T3 instance, vpc config valid (I think)

I created a new VPC ca-central. I followed the same procedure as everywhere else: New VPC (this created acl which is wide open) three subnets, one for each availabiltiy zone, CIDR spaced out properly ...
mmix's user avatar
  • 141
0 votes
0 answers
46 views

AWS EC2 EBS: btrfs partition and FS automatically resized by just increasing the EBS volume size?

I had to expand the size of an EC2 EBS root volume that uses btrfs (Fedora 38 Server), so I did the following: Stopped the EC2 instance Expanded the EBS volume via the EC2 console Started the EC2 ...
3VYZkz7t's user avatar
  • 101
0 votes
1 answer
31 views

Routing to custom remote destinations from VPCs through dynamic BGP VPN

I have a dynamic BGP VPN between a VPC and an on-premise site (on-premise uses vyOS router/vpn concentrator). Servers in the VPC and on-premise subnets can communicate directly through he VPN. The on-...
Unpossible's user avatar
0 votes
0 answers
98 views

Title: CORS Preflight Issue with AWS API Gateway and Lambda Function

I have been experiencing a persistent issue with CORS preflight requests when trying to use AWS API Gateway and Lambda function for sending emails from my website's contact form. Despite following ...
ozim's user avatar
  • 1
2 votes
2 answers
89 views

Using file system (AWS EFS) as cheap database for Lambda function

I am designing a database that could easily be represented as a large collection of files containing fixed size records, with sequence numbers 0,1,... This could fit nicely in DynamoDB with the ...
user1055568's user avatar
0 votes
0 answers
489 views

Nginx upstream block host not found

I'm running a nginx container where it maps to another backend container. When I tried adding upstream block in nginx.conf which is like upstream backend_servers { server backend:8000; } The ...
snowlash's user avatar
0 votes
0 answers
35 views

How to prevent compromising the email server if user credentials leaked?

I've been using AWS SES as an SMTP relay (Postfix + Dovecot) for years and now am facing the pausing of sending emails for the second time. We use this combination as an email server for business ...
Ljubisa Livac's user avatar
0 votes
0 answers
24 views

Implementing a mono-repo, multi-database PHP application on AWS

I have a application whose code is hosted on GitHub. This application is a school management system built using the Laravel Framework. I need advise on how I can implement it with the following ...
Ation's user avatar
  • 1
0 votes
0 answers
18 views

AWS AppStream Fleet maximum Idle Disconnect Timeout

does anyone know if there is a way of setting the "Idle Disconnect Timeout" from an AppStream Fleet to value greater than 60min? The UI allows for a maximum of 60 minutes, but this is ...
rbasniak's user avatar
  • 101
0 votes
0 answers
55 views

Certbot Google-DNS Failing from AWS EC2

I am trying to retrieve an SSL Cert using Certbot from an Unbuntu 22 instance on AWS and it keeps getting the following error: Simulating a certificate request for studiojb-demo.com and *.studiojb-...
GESmith's user avatar
0 votes
1 answer
52 views

S3 / Cloudfront / Load balancer Architecture explanation needed

My architecture is like so: I have a static website xyz.com hosted on s3 and served with cloudfront. The website is accessing an api that seats behind a load balancer. I want to make sure that only ...
April Henig's user avatar
0 votes
0 answers
33 views

Setting up HA NAT instances on AWS

Question: Anyone have experience running HA NAT instances and how to set them up? Basically, I would need to have my own NAT instances with automatic failover in case something breaks. I've ran years ...
eof's user avatar
  • 121
1 vote
0 answers
40 views

Cloudfront Origin Domain Name - should you include www

My nginx server is setup so that all URLs example.com/url are forwarded to www.example.com/url In the cloudfront origin domain when I create the distribution should I enter example.com or www.example....
JoaMika's user avatar
  • 499

1
2 3 4 5
172