159,139 questions
-1
votes
1
answer
22
views
ListALLMyBuckets access
The AIM user can put items in buckets.
When trying to list buckets:
An error occurred (AccessDenied) when calling the ListBuckets operation: \
User: arn:aws:iam::919963110724:user/mikekilmer is not ...
3
votes
3
answers
5k
views
TerraForm AWS: Is it possible to Import all AWS Resources in one time? | terraform import all services in one time
currently I started to work on an old AWS Infrastructure and tried to get know all current service states thru "terraform import" separately, but I would like to import with terraform all ...
1
vote
3
answers
3k
views
Conditionally enabling an event schedule in AWS sam template file
This is my (shortened) template.yml file:
AWSTemplateFormatVersion: '2010-09-09'
Transform: AWS::Serverless-2016-10-31
Description: CF template for foobar
Parameters:
EnvType:
Type: String
...
3
votes
1
answer
9k
views
Why would Amazon Athena throw an "Access denied when writing to location" error?
Access denied when writing to location:
s3://[bucket]/queryDailyInventory/Unsaved/2019/07/10/4da06507-a43f-4db0-bd46-81660e58fe35.txt
This query ran against the "default" database, unless ...
1
vote
1
answer
6k
views
EC2 Error using Cloudformation: Service: AmazonEC2; Status Code: 400; Error Code: IncorrectInstanceState
I am trying to set up an EC2 instance that I can use for R.
I am using this cloudfront template which I found on this help article.
It is so close to working, but not quite there. I tried to launch ...
63
votes
4
answers
49k
views
AWS Private Link vs VPC Endpoint
What is the difference between Private Link and VPC endpoint? As per the documentation it seems like VPC endpoint is a gateway to access AWS services without exposing the data to internet. But the ...
2
votes
1
answer
50
views
Self-signed certificate error when forcing SSL connecting to RDS PSQL
Hoping to get yalls help on the issue I am now sort of desperate about
Context:
I am deploying a docker container on EC2 Ubuntu, where it is used by two images - one for my Prisma-NestJs-based API and ...
27
votes
5
answers
42k
views
Connect to Amazon (AWS) EC2 instance via browser
I am having trouble connecting to an Amazon Elastic Cloud Computer Instance via a browser.
I attempted going to ****************.compute-1.amazonaws.com , but the browser returns that the connection ...
3
votes
2
answers
3k
views
Why is 10.0.0.1/28 not a valid subnet within a VPC of 10.0.0.0/24?
How to create Multiple Subnets within Range 10.0.0.0/24.
Tried creating 10.0.0.1/28 . It tells it should be within the CIDR Range.
0
votes
1
answer
691
views
AWS S3 PreSignedUrl Upload Error
I'm trying to upload files to S3 storage using the .Net SDK, and am seeing the following error response when PUTing to the pre signed URL provided by AWS:
The bucket you are attempting to access must ...
5
votes
2
answers
3k
views
How can I restore a snapshot on an existing Elasticache cluster? [closed]
I have an application where I deploy a Elasticache cluster with one node (for my use case having multi AZ is not an option considering the costs). If the node goes down for some reason, the data is ...
0
votes
0
answers
14
views
AWS Batch job configured with Splunk log driver, jobs stuck in RUNNABLE
I'm attempting to configure my AWS Batch job with the Splunk log driver in order to get logs into Splunk. I tried following the steps according to this blog post using a valid Splunk url and token, ...
0
votes
0
answers
28
views
AWS Error in Cloudfront + Appsync with 2 Authorizers OICD and new additional API_KEY, Cloudfront forcing x-api-key
I have an application that is in production working with Cloudfront + Appsync with OICD Authorizer. In the Cloudfront configuration for some reason it is adding in the custom headers if API_KEY exists ...
0
votes
3
answers
4k
views
cron jobs on Amazon aws [closed]
I am currently using Amazon's Elastic Beanstalk as my web server. I need to be able to run some cron jobs every minute (so launching machines and shutting them down is not an option).
The solutions I ...
0
votes
1
answer
43
views
AWS MQTT connect from Python - receive not working
I'm learning how to use MQTT on AWS IoT - the goal is to simply publish and receive between AWS IoT MQTT test client and a Python script.
I can successfully publish from my Python code but I am unable ...
0
votes
1
answer
22
views
How can I run a group by metric query for cloudwatch using boto3?
Using the cloudwatch ui, I created a query that looks like:
SELECT MAX(some_attribute)
FROM SCHEMA(MyTable, Queue, InstanceId, C, D)
WHERE path = '/work' AND Queue = 'my-queue'
GROUP BY InstanceId, ...
0
votes
1
answer
4k
views
Terraform plan showing error if prevent_destroy lifecycle is set
Getting below error while running Terraform Plan or Terraform refresh, How to resolve this?
Error: Instance cannot be destroyed
on ..\ec2\ec2.tf line 89:
89: resource "aws_instance" &...
1
vote
0
answers
36
views
Not able to delete index from Amazon OpenSearch Serverless
As the title mentions, I am not able to delete an Amazon OpenSearch Serverless index from a collection. I have a collection with 9 indexes within it, I don't want to delete the entire collection, only ...
51
votes
5
answers
118k
views
Essential container in task exited
I am trying to configure my docker hub image with aws ecs..I have created repository, cluster, and task while running task am getting an error as an essential container in task exited 1. while trying ...
1157
votes
44
answers
983k
views
Downloading an entire S3 bucket?
I noticed that there does not seem to be an option to download an entire s3 bucket from the AWS Management Console.
Is there an easy way to grab everything in one of my buckets? I was thinking about ...
16
votes
1
answer
3k
views
Downloading a PDF file in ReactJS works locally but doesn't work on Amazon Amplify AWS
I have already found the solution to this issue and it is included in this post. This is just to alert anyone who is suffering through the same issue.
The Problem:
I was trying to get a PDF to ...
1
vote
2
answers
11k
views
User ID in Cognito
I use AWS API Gateway + AWS Cognito (Federated Identity + User Pool). I'm creating REST API in API Gateway. There are methods for getting users list and for getting user by id. What should I use as ...
Advice
2
votes
5
replies
74
views
Building Privacy-Compliant LLM Apps (e.g. Section 203 StGB)
I’m working on an app that leverages Large Language Models (LLMs) to assist professionals in regulated fields like medicine and law. My main concern is ensuring compliance with privacy and secrecy ...
-1
votes
1
answer
55
views
Unable to link persistent storage to the mysql pod [closed]
I am working with an EKS cluster with one worker node group that has 1 EC2 instance deployed in 2 private subnets of the VPC. EKS and Worker node are deployed in the same VPC. Also, the EKS cluster is ...
7
votes
3
answers
10k
views
How to I discover the local IP address or ENI of a running AWS lambda?
I am trying to discover the VPC IP address or AWS ENI of the currently executing AWS Lambda so that I can use the IP address to filter the VPC logs to find matching records. The Lambda is running in a ...