All Questions

Content language: English

Sort by most recent

Browse through the questions and answers listed below or filter and sort to narrow down your results.

I have a static website using cloudfront and S3, how do I clear the cache?
1
answers
0
votes
5
views
asked 11 minutes ago
Hello, I was trying to build FTPS server using Transfer family, But I couldn't able to successfully build one. Could some one explain in details how to build one in detail. I tried browsing online for guidance all I could find is for building SFTP server. I need help in building "custom identity provider" using rest API and lambda function. I couldn't find the code for the lambda function.
0
answers
0
votes
2
views
asked 17 minutes ago
I recently got an email that my free tier is ending soon (I activated S3 almost a year ago for a tutorial project). I logged in and removed all services and all resources from all regions. Using Tag Editor I confirmed there are no active resources on my account, but under Billing there was still S3 visible in one region. Your support pages suggest that it may take up to 24 hours for that list to update. I checked again today to make sure I wont get charged. The Tag Editor still returns no results for active resources (All regions, all supported resource types), but now, under Billing (Amazon Web Services EMEA SARL charges by service), I see multiple services that I never selected or had visible yesterday: CodeArtifact, Data Transfer, Key Management Service, Secrets Manager, Simple Notification Service, Simple Queue Service, Simple Storage Service and Systems Manager. All of them have all available regions under them, except for S3 which has only one region (same as it was yesterday). What is going on? Am I going to get charged for that? When I open the consoles for those services there is no items in a list so I guess they are not active afterall??? I have no experience with AWS, and this is just confusing. Can someone please explain what is going on?
0
answers
0
votes
3
views
asked 31 minutes ago
I'm trying to install the CUDA toolkit to a g4dn.xlarge EC2 instance (Debian Linux 11) but it ran out of memory. The root volume is only 8GB but the instance volume is 125 GB. Here's the commands that I'm using to get and install the [CUDA toolkit](https://developer.nvidia.com/cuda-downloads?target_os=Linux&target_arch=x86_64&Distribution=Debian&target_version=11&target_type=deb_local): ``` wget https://developer.download.nvidia.com/compute/cuda/12.1.0/local_installers/cuda-repo-debian11-12-1-local_12.1.0-530.30.02-1_amd64.deb sudo dpkg -i cuda-repo-debian11-12-1-local_12.1.0-530.30.02-1_amd64.deb ``` I also tried using the dpkg option --root=/instance after mounting the instance volume to /instance which fixed the out-of-memory error but led to another error since it expects to be installed at / not at /instance Can anyone help me get the CUDA toolkit installed please?
0
answers
0
votes
5
views
Jasper
asked an hour ago
Hi All, We just updated our redis cluster in elasticache redis cluster from v7.0.5 to v7.0.7 with dualstack connection and it just went down and keep resetting all incoming connections. After investigation, we found out it may be a bug that can reproduce on all AWS account **expected output**: Everything should works fine after redis upgrade **actual output**: redis cluster keep reset all incoming connections **step to reproduce**: 1. Open a new redis cluster with the following settings: choose "dualstack" in connection section instead of default ipv4 option choose redis v7 2. check if AWS choose v7.0.7, we can only reproduce this in v7.0.7, not v7.0.5 not v6.2 or v6 3. try to connect to this redis cluster and will find out all connection refused. ![use nping to test and get all connection refused](/media/postImages/original/IMaVSxiVvJT1GhzmnQ1kAwFw) Thanks for every folks in AWS User Group Taiwan that help us to narrow down the issue Original Post on Facebook in Chinese Traditional: https://www.facebook.com/groups/awsugtw/posts/5984294404980354/
0
answers
0
votes
9
views
asked 2 hours ago
I am having issues in regards to adding storage onto my instances I have already created and have been using for awhile. My storage is low so I decided to add more storage. I added 30GB of storage to each instance (General Purpose SSD (gp2) changed to 60 GiB from 30 GiB, when I sign onto the server it doesn’t show up in the storage but it shows up in my disk management that I have 30GB unallocated. What do i need to do to get the 30GB I added to the instance onto the server itself?
2
answers
0
votes
14
views
asked 2 hours ago
Hi, I have followed the [documentation](https://wellarchitectedlabs.com/cost/200_labs/200_cloud_intelligence/cost-usage-report-dashboards/dashboards/deploy_dashboards/) as mentioned in link. But I'm not getting all accounts data in dashboard, its showing data only for destination account. As i can't use/access management account so I'm getting all my individual accounts data(creating cur and storing into s3) and storing to one destination account like below. s3://cur-buck****/account/SourceAccount1/cur/cur/year=2023/month=3/0001.snappy.parquet s3://cur-buck****/account/SourceAccount2/cur/cur/year=2023/month=3/0001.snappy.parquet s3://cur-buck****/account/SourceAccount3/cur/cur/year=2023/month=3/0001.snappy.parquet s3://cur-buck****/account/DestinationAccount1/cur/cur/year=2023/month=3/0001.snappy.parquet I'm crawling location s3://cur-buck****/account/ in crawler s3. My dashboards were deployed successfully and working well but i'm getting only data for destination account. Account_map view is also giving 1 entry of destination account. I'm unable to get other accounts data even in athena query. Please help , I still not able to get this CURBucketPath path when we have multiple accounts. May be i have added wrong prefix while creating stack via CFN. ![Enter image description here](/media/postImages/original/IMPH9-vgTlRJe4fwfiKS4v3w) Thanks!
0
answers
0
votes
3
views
asked 2 hours ago
I have a newly set up workmail organization and account. However, it was unable to send emails and it always got the below error. I have searched a lot of documentation and followed the steps but no luck. Can anybody help? Thanks Sending Email failed. Could not send email. SubmitId: xxxxxxxxx Your administrator needs to give permissions to WorkMail to perform e-mail sending on your behalf. To give WorkMail sending permissions, follow the instructions here: https://docs.aws.amazon.com/workmail/latest/adminguide/editing_domains.html
0
answers
0
votes
5
views
asked 2 hours ago
## Issue We have an Aurora PostgreSQL version 14.5 RDS cluster. We have a secret in SecretsManager with credentials for a user we want to rotate the password for. When rotating the secret, the Lambda gets stuck at the `setSecret` step with the error `Unable to log into database with previous, current, or pending secret`. We have determined that this relates to the `password_encryption` option in the cluster parameter group. If we set it to `md5` (whereas the default is, I believe, `scram-sha-256`) the rotation will work again _after_ we update it manually. We can then rotate it as many times as we want. ### Question How can we get the secret rotation to work while using the default cluster parameter group for an Aurora PostgreSQL cluster? ### To reproduce 1. Have a secret [formatted as expected](https://docs.aws.amazon.com/secretsmanager/latest/userguide/reference_secret_json_structure.html#reference_secret_json_structure_rds-postgres). 2. Have a Lambda running the [python code provided by AWS](https://github.com/aws-samples/aws-secrets-manager-rotation-lambdas/blob/master/SecretsManagerRDSPostgreSQLRotationSingleUser/lambda_function.py). 3. Have a version 14.5 Aurora PostgreSQL cluster using the `default.aurora-postgresql14` cluster parameter group. 4. Click the "Rotate secret immediately" button in the console 5. In Lambda logs, see the error `setSecret: Unable to log into database with previous, current, or pending secret of secret arn arn:aws:secretsmanager:....` ### How to Recover 1. Create a new cluster parameter group that is a copy of `default.aurora-postgresql14` 2. Change the `password_encryption` to be `md5` 3. Apply this new parameter group to the cluster 3. Cancel the secret rotation: `aws secretsmanager cancel-rotate-secret --secret-id ....` 4. Manually change the password on the user to a new one 5. Update the secret with the new password 6. click the "Rotate secret immediately" button in the console
1
answers
0
votes
8
views
asked 2 hours ago
Hi Team, I have a requirement to support Webhook (http notification requests) consumption and the applications/micro services which consumes these requests will be hosted on multiple regions in clusters. When http notification requests comes we want all these micro services running in different regions should get the requests equally so that proper load balancing will happen. Can we achieve this kind of functionality using AWS global accelerator service? If So, How? and is there any service along with AGA is needed ? Please let us know. Thank you so much in advance. Also, We are looking to have one URL exposed which boils down to one Fqdn/static IP address listening on port 80.
1
answers
0
votes
3
views
asked 2 hours ago
My instance was giving a 504 error. To my knowledge, nothing was updated about the site. My IP is 52.35.76.129 I spun up a new instance from a previous snapshot at 35.166.203.154 but am getting a network connection error. I also attached a classical load balancer and now am getting that the health check failed. What are the next steps?
0
answers
0
votes
4
views
asked 2 hours ago
I created EKS resources via Terraform. I now want to get temporary credentials for a new role (new_dev has eks:DescribeCluster permission). It throws below error, user xxxxx has AdminitratorAccess policy. Should I add an assume role policy to the user xxxxx? aws sts assume-role --role-arn arn:aws:iam::---:role/new_dev --role-session-name dev An error occurred (AccessDenied) when calling the AssumeRole operation: User: arn:aws:iam::---:user/xxxxx is not authorized to perform: sts:AssumeRole on resource: arn:aws:iam::---:role/new_dev
1
answers
0
votes
11
views
asked 2 hours ago