logo
down
shadow

AMAZON-WEB-SERVICES QUESTIONS

CloudFormation: Cannot create policy for SNS topic on AWS using serveless framework
CloudFormation: Cannot create policy for SNS topic on AWS using serveless framework
Does that help It looks like you're mixing JSON and YAML syntax for the REF. Also, just to be safe you should put quotes around your version as shown below.Your Policy should look more like this
TAG : amazon-web-services
Date : January 12 2021, 09:11 PM , By : Verbal
Send email with custom from with amazon ses for several domains
Send email with custom from with amazon ses for several domains
wish help you to fix your issue The process for doing this is entirely specific to the current SES configuration steps so its better I provide a link thats regularly updated.http://docs.aws.amazon.com/ses/latest/DeveloperGuide/mail-from-set.html
TAG : amazon-web-services
Date : January 12 2021, 08:33 AM , By : Gazza
amplify init fails on validation caused [$LATEST] inside 'stackName' value
amplify init fails on validation caused [$LATEST] inside 'stackName' value
seems to work fine The problem was on version of Amplify module on the cloud is lower than my local versionMy local amplify module version is 1.12.0.
TAG : amazon-web-services
Date : January 12 2021, 01:40 AM , By : user183825
Can't access my elasticsearch through public IP in EC2 instance
Can't access my elasticsearch through public IP in EC2 instance
like below fixes the issue So the solution was simply to modify the following settings in elasticsearch.yml:
TAG : amazon-web-services
Date : January 11 2021, 05:14 PM , By : Pierre LeBoo
How can I connect to an Amazon RDS instance from my Docker image of springboot application?
How can I connect to an Amazon RDS instance from my Docker image of springboot application?
I wish this helpful for you I got the exact problem. It has an issue with the security configuration file. Need to allow required port number.
TAG : amazon-web-services
Date : January 11 2021, 05:14 PM , By : Liy
AWS Kinesis + Lambda Function: can I invoke multiple instances of one Lambda Function concurrently in one shard?
AWS Kinesis + Lambda Function: can I invoke multiple instances of one Lambda Function concurrently in one shard?
this will help Yes. You are right. Kinesis - Lambda trigger supports only one lambda per shard. Moreover it's not an AWS limitation it's pretty common for ordered streams like kinesis or Kafka. There are couple things to enforce this limitation:
TAG : amazon-web-services
Date : January 11 2021, 05:14 PM , By : Amit Battan
Replace SSL cert on a CloudFront Distribution without downtime
Replace SSL cert on a CloudFront Distribution without downtime
Does that help According to the response for this thread in AWS forums, there might be some downtime if you're going to replace the certificate. But as long as you keep the old one there might not be any problem.
TAG : amazon-web-services
Date : January 11 2021, 03:34 PM , By : Frank Bradley
ETLing S3 data into CSV via Athena and/or Glue
ETLing S3 data into CSV via Athena and/or Glue
Any of those help Looks like you can create a partitioned file of your S3 inventory, in S3, partitioned by date:
TAG : amazon-web-services
Date : January 11 2021, 03:28 PM , By : MikeW
IAM - How to restrict access on queue creation?
IAM - How to restrict access on queue creation?
With these it helps Below is the rule: , Below is the better version of the required policy:
TAG : amazon-web-services
Date : January 11 2021, 02:18 PM , By : Doc Immortal
AWS CloudWatch auto-reset (OK) alarm on trigger
AWS CloudWatch auto-reset (OK) alarm on trigger
should help you out Sounds like what you need is the ability to aggregate alarms with an AND clause. Alarm if CPU < 10% AND instance_count > 2. Unfortunately CloudWatch does not allow you to combine alarms like that directly.The current solution to t
TAG : amazon-web-services
Date : January 10 2021, 02:06 PM , By : NeedOptic
EC2 instances not created while creating ECS cluster
EC2 instances not created while creating ECS cluster
it fixes the issue This sounds like you have chosen the wrong cluster template. If you choose Networking Only (Fargate) template, there will be no instance created since Fargate is serverless solution where you don't manage its underlying EC2 contain
TAG : amazon-web-services
Date : January 10 2021, 02:04 PM , By : Michael Gunderson
AWS ALB routes to other ALBs
AWS ALB routes to other ALBs
it should still fix some issue No it's not possible, but there's also no reason to do this. You just need to setup routing rules in a single Application Load Balancer to route to different Target Groups.
TAG : amazon-web-services
Date : January 09 2021, 05:38 AM , By : vasil
Proper way to handle not needed/old/stale AWS Athena partitions
Proper way to handle not needed/old/stale AWS Athena partitions
wish helps you Question 1:As the metadata and data are totally unlinked in AWS Athena, you will need to call the command that basically says "hey, refresh my table partitions list" wich is MSCK REPAIR TABLE https://docs.aws.amazon.com/athena/latest/u
TAG : amazon-web-services
Date : January 08 2021, 03:18 AM , By : WuJanJai
How can I set "create a single schema for each s3 path" in cloudformation?
How can I set "create a single schema for each s3 path" in cloudformation?
I wish this help you Do you need one table per subfolder or only one table at the root level of the s3 path?for single root level table, append following in your CFN:
TAG : amazon-web-services
Date : January 08 2021, 03:18 AM , By : user186435
Where are my AWS Libs which I imported with nuget
Where are my AWS Libs which I imported with nuget
I wish this help you If you try to build it in release mode or publish it, the required dll files will automatically be copied. As far as the debugging is concerned, try adding the dll files in Global Assembly Cache;navigate to the directory with gac
TAG : amazon-web-services
Date : January 08 2021, 03:18 AM , By : user93312
Dynamodb UpdateExpression: "REMOVE #items[0]" appends new list element?
Dynamodb UpdateExpression: "REMOVE #items[0]" appends new list element?
seems to work fine I was able to remove an element from the cart_items field as below -table name - cart
TAG : amazon-web-services
Date : January 06 2021, 03:17 PM , By : THD
"Authentication required" SmtpException trying to send mail from EC2 instance
"Authentication required" SmtpException trying to send mail from EC2 instance
wish of those help I'm running the C code listed at https://docs.aws.amazon.com/ses/latest/DeveloperGuide/send-using-smtp-net.html, trying to send a test email from an EC2 instance. I can easily run the equivalent code using the gmail SMTP server, bu
TAG : amazon-web-services
Date : January 06 2021, 03:17 PM , By : jamerson
Athena performance on too many S3 files
Athena performance on too many S3 files
This might help you I think you would be better off handling the deduplication in Athena itself. For Athena, weeding out a few duplicates will be an easy job. Set up a view that groups by the unique property and uses ARBITRARY or MAX_BY (if you have
TAG : amazon-web-services
Date : January 06 2021, 03:27 AM , By : user94076
Requires capability named IAM - ManagedPolicy
Requires capability named IAM - ManagedPolicy
like below fixes the issue This is not an error. This is normal output listing resources requiring capabilities that will need to be specified (via --capabilities) when running create-stack or update-stack in the future.You can confirm that a validat
TAG : amazon-web-services
Date : January 06 2021, 03:27 AM , By : jaredsmiller
AWS ECS unable to run more than 10 number of tasks
AWS ECS unable to run more than 10 number of tasks
it should still fix some issue I have an ECS Cluster with say 20 registered instances. , Number of tasks launched (count) per run-task
TAG : amazon-web-services
Date : January 05 2021, 11:29 AM , By : Pat
AWS simple serverless architecture recomendation
AWS simple serverless architecture recomendation
Any of those help You can use this setup but... I wouldn't recommend using API Gateway for server side rendered websites. Problem is that almost nobody these days is writing server side rendered websites without using established frameworks for their
TAG : amazon-web-services
Date : January 05 2021, 11:29 AM , By : Kuer
AWS S3 log for DeleteObject?
AWS S3 log for DeleteObject?
may help you . Here is my setup.Detail instructions on setting up CloudTrail in the console. When setting up the CloudTrail double check these 2 options.
TAG : amazon-web-services
Date : January 05 2021, 11:29 AM , By : msugar
In Powershell, how do I create a PatchOperation that adds AWS IAM authorization to an existing API Gateway Endpoint?
In Powershell, how do I create a PatchOperation that adds AWS IAM authorization to an existing API Gateway Endpoint?
help you fix your problem I was able to figure this out by using the network tab in my browser debugger to see the values sent to the server. The structure for the PatchOperation object I want is:
TAG : amazon-web-services
Date : January 03 2021, 08:18 AM , By : user183676
AWS RDS:user/redshift is not authorized to perform: rds:DescribeDBInstances
AWS RDS:user/redshift is not authorized to perform: rds:DescribeDBInstances
will help you There are 2 ways to find out IAM Permissions of a user -1. Individual user -
TAG : amazon-web-services
Date : January 02 2021, 10:54 PM , By : Shrek Qian
What action does iam:PassRole api perform?
What action does iam:PassRole api perform?
To fix this issue In short, the statement says that you can assign role with name that starts with some-role only to lambda service.If you want to assign role to a service such as lambda or EC2, you need to have permission to perform iam:PassRole act
TAG : amazon-web-services
Date : January 02 2021, 10:54 PM , By : Franky
DynamoDb - How exactly does the throughput limit works?
DynamoDb - How exactly does the throughput limit works?
Hope that helps Most of your questions are theoretical at this point , because you now (as of Nov 2018) have the option of simply telling dynamodbv to use 'on demand' mode where you no longer need to calculate or worry about RCU's. Simply enable this
TAG : amazon-web-services
Date : January 02 2021, 06:48 AM , By : davidg
What is "EC2-Other" filter in "Cost Explorer" mean?
What is "EC2-Other" filter in "Cost Explorer" mean?
Does that help There are 2 parts to your question (give a man a fish, and teach him how to fish). Costs for EC2-Other include things such EBS, Data transfer, Load Balancers, etc. If you'd really want to check internally what you're being charged for,
TAG : amazon-web-services
Date : January 02 2021, 06:48 AM , By : picamiolo
Applying Terraform On Two Different AWS Accounts In the Same Plan
Applying Terraform On Two Different AWS Accounts In the Same Plan
wish helps you You can configure multiple providers ( one per account in your case) and create an alias for each. Then you will need to specify the provider for each ressource. Example:
TAG : amazon-web-services
Date : January 02 2021, 06:48 AM , By : foxthrot
How to setup a Subdomain of an existing domain in AWS?
How to setup a Subdomain of an existing domain in AWS?
like below fixes the issue You're getting it wrong. Route53 is for custom domains you purchase from any of source (GoDaddy, Amazon, Namecheap naming a few). The URL ec2-10-212-103-15.us-east-2.compute.amazonaws.com you've mentioned isn't the domain n
TAG : amazon-web-services
Date : January 02 2021, 06:48 AM , By : user167963
Service discovery ecs aws
Service discovery ecs aws
this will help ECS with EC2 launch type and Dynamic Port Mapping would mean SRV records for DNS resolution. Service Discovery Considerations
TAG : amazon-web-services
Date : January 02 2021, 06:48 AM , By : user98832
How to get the idToken for a user without the user's password? AWS-Cognito
How to get the idToken for a user without the user's password? AWS-Cognito
I wish this helpful for you No this isn't possible and there is a very good reason for it. It ensures that the admin cannot simply log in as user and make changes under his name. Only the user is allowed to use his account. If that wasn't the case yo
TAG : amazon-web-services
Date : January 02 2021, 06:48 AM , By : AJacques
AWS : Classic Load Balancer www.example.com not redirecting to https://www.example.com
AWS : Classic Load Balancer www.example.com not redirecting to https://www.example.com
it helps some times It is probably because your classic ELB health check is set on HTTP and it expects 200 okay reply from server but because of redirection rules, it's getting 302/301. One solution would be to use TCP for health check, it'll only ch
TAG : amazon-web-services
Date : January 02 2021, 06:48 AM , By : CM.
Using AWS API in order to invoke Lambda functions Asynchronously
Using AWS API in order to invoke Lambda functions Asynchronously
wish helps you Lambda really is about event-driven-computing. This means Lambda always gets triggered in response to an event. This event can originate from a wide range of AWS Services as well as the AWS CLI and SDK.All of these events invoke the La
TAG : amazon-web-services
Date : January 02 2021, 06:48 AM , By : Vorinowsky
Application Load Balancers vs API Gateway
Application Load Balancers vs API Gateway
This might help you One of the biggest reasons we use API gateway in front of our lambda functions instead of using an ALB is the native IAM (Identity and Access Management) integration that API GW has. We don't have to do any of the identity work ou
TAG : amazon-web-services
Date : January 02 2021, 06:48 AM , By : Kuer
AWS CloudFormation custom resources not working
AWS CloudFormation custom resources not working
will help you Amazon CloudFormation Custom Resources need to signal their completion back to CloudFormation rather than simply returning a value.This can be done with the cfn-response Module, for example:
TAG : amazon-web-services
Date : January 02 2021, 06:48 AM , By : Neuromaster
Import current state of my cloud AWS account with terraform
Import current state of my cloud AWS account with terraform
Any of those help While this doesn't technically answer your question I would strongly advise not to try and import an entire existing AWS account into Terraform in a single way even if it was possible.If you look at any Terraform best practices an a
TAG : amazon-web-services
Date : January 02 2021, 06:48 AM , By : cthulhup
Dynamo DB: Difference between creating table with and without '--endpoint-url'
Dynamo DB: Difference between creating table with and without '--endpoint-url'
hop of those help? You set the endpoint to indicate that you are creating the table in the downloadable version of DynamoDB on your computer.
TAG : amazon-web-services
Date : January 02 2021, 06:48 AM , By : Mforg
AWS Glue Job getting Access Denied when writing to S3
AWS Glue Job getting Access Denied when writing to S3
will help you Unfortunately the error doesn't tell us much except that it's failing during the write of your DynamicFrame. There is only a handful of possible reasons for the 403, you can check if you have met them all:
TAG : amazon-web-services
Date : January 02 2021, 06:48 AM , By : hyperNURb
AWS Lambda - Is it possible to restrict an IAM role to create functions with a particular prefix?
AWS Lambda - Is it possible to restrict an IAM role to create functions with a particular prefix?
I hope this helps . Yes, IAM does support resource-level permissions for Lambda.I tested a variant of your policy on a new IAM user. For Lambda function names matching the wildcard, I was successful. For non-matching function names I got AccessDenied
TAG : amazon-web-services
Date : January 02 2021, 06:48 AM , By : Pancilobak
how to write a IAM policy to give full s3 access but one directory
how to write a IAM policy to give full s3 access but one directory
I hope this helps . Your policy is missing Allow actions for objects in your bucket.What about ? (not tested myself, let's report if this works)
TAG : amazon-web-services
Date : January 02 2021, 06:48 AM , By : adrianmooreuk
Trigger Alexa Skill From AWS Lambda
Trigger Alexa Skill From AWS Lambda
wish of those help Technically you can not invoke a 'Alexa Skill' from anywhere but from an Alex device. i.e. you can not cause your skill to start sending voice prompts to customers. The Alexa flow is always the other way around : customer asks some
TAG : amazon-web-services
Date : January 02 2021, 06:48 AM , By : user179863
How long does a boto3 session persist? In my service, I'm looking to get instance from multiple regions and thinking of
How long does a boto3 session persist? In my service, I'm looking to get instance from multiple regions and thinking of
around this issue You're right. The documentation is not very enlightening here.Sessions encapsulate configuration (such as credentials, region, and endpoint). I would generally create one session per configuration tuple, outside of my API route hand
TAG : amazon-web-services
Date : January 02 2021, 06:48 AM , By : KT.
AWS site-to-site VPN high availability
AWS site-to-site VPN high availability
help you fix your problem You can have your own private ranges 10.x.x.x/16 not necessarily use the Link-local range 169.254.0.0/16.For setting up the VPN, AWS provides 2 endpoints per VPN the ones you will have to configure and ensure they both are w
TAG : amazon-web-services
Date : January 02 2021, 06:48 AM , By : user118656
S3 notification creates multiple events
S3 notification creates multiple events
seems to work fine After wasting quite some time looking into S3, SNS and Lambda documentations, I've found a note on specific to S3 notification that reads:
TAG : amazon-web-services
Date : January 02 2021, 06:48 AM , By : micate
AccessDenied on AWS Athena
AccessDenied on AWS Athena
hop of those help? You didn't show us your table definition, but I suspect that Athena is wanting to list the contents of the path to discover what files exist, so it can read through them.The policy only grants permission to Put and Get objects, not
TAG : amazon-web-services
Date : January 02 2021, 06:48 AM , By : MikeW
Not able to connect to AWS documentDb from Lambda
Not able to connect to AWS documentDb from Lambda
hope this fix your issue Just from looking at the current code I am pretty sure your function exit before it is able to complete. Therefore, your callback is not executedBecause MongoClient.connect runs asynchronously
TAG : amazon-web-services
Date : January 02 2021, 06:48 AM , By : user169463
AWS s3 sync to upload if file does not exist in target
AWS s3 sync to upload if file does not exist in target
will help you aws s3 sync will compare the "last modified time".For the objects in S3, there is only one timestamp LastModified, which should be when you uploaded the files.
TAG : amazon-web-services
Date : January 02 2021, 06:48 AM , By : goffi
Is there a pseudocolumn in Hive/Presto to get the "last modified" timestamp of a given file?
Is there a pseudocolumn in Hive/Presto to get the "last modified" timestamp of a given file?
will help you This seems like a reasonable feature request. Please file an issue and include details about your use case (it's possible there is a better approach).
TAG : amazon-web-services
Date : January 02 2021, 06:48 AM , By : nhuser
Can AWS CloudWatch triggers a lambda function when SQS receives new message?
Can AWS CloudWatch triggers a lambda function when SQS receives new message?
it helps some times This will be difficult because, if the message is consumed quickly, it might not have an impact on Amazon CloudWatch metrics. You'll need to experiment to see whether this is the case. For example, set a metric for the maximum num
TAG : amazon-web-services
Date : January 02 2021, 06:48 AM , By : Bruce
Can't assign list value to json policy in Terraform
Can't assign list value to json policy in Terraform
I hope this helps . You can use the jsonencode function here:
TAG : amazon-web-services
Date : January 02 2021, 06:48 AM , By : user91848
Do I need to pass AWS AccessKey and AccessSecret while running AWS batch?
Do I need to pass AWS AccessKey and AccessSecret while running AWS batch?
around this issue When you Create a Job Definition in AWS Batch, you can specify a Job Role:
TAG : amazon-web-services
Date : January 02 2021, 06:48 AM , By : Bjørn Lyngwa
AWS Textract StartDocumentAnalysis function not publishing a message to the SNS Topic
AWS Textract StartDocumentAnalysis function not publishing a message to the SNS Topic
seems to work fine Make sure you have in your Trusted Relationships of the role you are using:
TAG : amazon-web-services
Date : January 02 2021, 06:48 AM , By : Si Gardner
Modify AWS AMI periodically
Modify AWS AMI periodically
it fixes the issue The normal method is to separate your compute and data.The Amazon EC2 instances in the Auto Scaling group should process requests but should not store data locally.
TAG : amazon-web-services
Date : January 02 2021, 06:48 AM , By : user161380
Can't export a EC2 AMI to another account because the AWS Marketplace OS is obsolete
Can't export a EC2 AMI to another account because the AWS Marketplace OS is obsolete
may help you . If you just need the data inside your instance, maybe you can try to create a snapshot of the volume and make it available for your other account ?
TAG : amazon-web-services
Date : January 02 2021, 06:48 AM , By : Chris Hanley
User Friendly Unique Identifier For DynamoDB
User Friendly Unique Identifier For DynamoDB
To fix this issue Since it seems you must create a memorable userId without any information about the user, I’d recommend that you create a random phrase of 2-4 simple words from a standard dictionary. For example, you might generate the phrase corre
TAG : amazon-web-services
Date : January 02 2021, 06:48 AM , By : user121350
Trying to automatically register my EC2 instances in Route 53
Trying to automatically register my EC2 instances in Route 53
wish help you to fix your issue I would recommend: Create a web-based front-end where your users can authenticate and request access to their Amazon EC2 instance You could use Amazon Cognito for authentication and DynamoDB for data storage Once the u
TAG : amazon-web-services
Date : January 02 2021, 06:48 AM , By : jumpingmattflash
How to run Parallel builds with AWS Codebuild?
How to run Parallel builds with AWS Codebuild?
I wish this help you CodeBuild is used to automate build step, not to automate the whole CICD process. In CodeBuild, you specify buildspec.yml to automate a sequence of steps that need to be performed in that particular build.If you need to automate
TAG : amazon-web-services
Date : January 02 2021, 06:48 AM , By : taviso
Javascript - Cannot initialize a AWS Textract object with AWS-SDK
Javascript - Cannot initialize a AWS Textract object with AWS-SDK
should help you out Don't take offence but your title is bit confusing because it refers to aws-cli however the code snippet in your description is in nodejs. Can you kindly clarify which is which?In JavaScript/nodejs SDK you can initialize Amazon Te
TAG : amazon-web-services
Date : January 02 2021, 06:48 AM , By : JSebok
Avoid Terraform module to create duplicate resources?
Avoid Terraform module to create duplicate resources?
I hope this helps . If you create the SecurityGroup within the module, it'll be created once per module inclusion. I believe that some of the variable values for the sg name change when you include the module, right? Therefore, the sg name will be un
TAG : amazon-web-services
Date : January 02 2021, 06:48 AM , By : baylisscg
AWS ECS Fargate Container Healthcheck command
AWS ECS Fargate Container Healthcheck command
help you fix your problem The Documentation mentions the following:
TAG : amazon-web-services
Date : January 02 2021, 06:48 AM , By : snk

shadow
Privacy Policy - Terms - Contact Us © scrbit.com