Questions tagged [amazon-web-services]

28749 questions
1

votes
0

answer
792

Views

Extract email attachment from SES into S3

I want to extract an email attachment and save that attachment into an S3 bucket. I have configured SES to intercept my incoming emails. I am guessing I need to create a SES rule which would have an action to trigger a Lambda function that extracts the email attachment and stores it to S3. I am not...
user1534235
1

votes
0

answer
109

Views

Wagtail can't access images on S3 - I/O operation on closed file

I'm trying to get Wagtail to store and serve images from an AWS S3 bucket. I have followed the instructions and have it working great in a test environment, however when I switch to the Production Database and Bucket, I run into problems using the Admin and occasionally the frontend too. I have: bot...
Brett
1

votes
2

answer
592

Views

aws lambda didn't convert json request to POJO

I have a lambda function: package org.smarter.note; import com.amazonaws.services.lambda.runtime.Context; import com.amazonaws.services.lambda.runtime.LambdaLogger; import com.amazonaws.services.lambda.runtime.RequestHandler; public class AddNoteRequestHandler implements RequestHandler { private Not...
Jakim
1

votes
1

answer
112

Views

Alexa ASK Lambda bug

I'm trying to make a skill where after the LaunchRequest, an initial welcome message is played in the function StartGame asking the user for their school, and then the user says their school in the SetSchool intent, and then the skill says a message. Right now there's a bug in the last part, and I d...
Neil Chowdhury
1

votes
2

answer
387

Views

AWS Elastic Beanstalk: Steps to move existing RDS from db.t1.micro to db.t2.small

I'm new to AWS and having a web server environment on elastic beanstalk with EC2 (t1.micro) with RDS (db.t1.micro). Now the db.t1.micro instance is deprecated, no more new instance can be created and no support in near future. I would be helpful if anybody refers me steps to do create the t2 clone o...
Saravana
1

votes
2

answer
53

Views

Create a response for invalid and incomplete end points using the Serverless Framework?

I have a series of HTTP endpoints that involve lambda functions that hit detail information like so: products/1 users/1 package/998134 There is not a corresponding endpoint for products/, users/ or package/. I have a custom authorizer around the users/{id} and package/{id} endpoints. If a user goes...
Serverless Qs
1

votes
1

answer
85

Views

AWS Lex Simple Bot Statement / Intent

I was hoping to create an intent that only makes a statement to the user. I was thinking I could do this by having some utterances that trigger the intent with no slots, but with a 'goodbye message'. When I try to do that, when I save the intent, it deletes the goodbye message and reverts it to None...
user1418199
1

votes
1

answer
150

Views

Can Jetty be configured to serve AWS Certificate Manager certs?

Running a Java web service with embedded Jetty web container. Would like to serve my RESTful API endpoints over HTTPS with a root CA-signed SSL cert (no OpenSSL). Can I configure my embedded Jetty container to use a 'free' AWS Certificate Manager cert cert or are those certs only for use by AWS infr...
smeeb
1

votes
2

answer
54

Views

Cannot delete record from rails console in AWS eb cli if a wrong subclass value is specified for a STI parent class

A colleague added a new record for the class 'Production' via our rails admin interface, which is the parent class via STI of the subclass 'CoProduction'. The type attribute was by mistake filled out via the rails_admin with a value that is not the specified subclass 'CoProduction', but with a wron...
Anna Costalonga
1

votes
1

answer
233

Views

aws-iot device and jobs looses connections in the same process

I have a connection to using the device sdk const device = awsIot.device(config.DeviceOptions); I want also to use the new jobs sdk const jobs = awsIot.jobs(config.DeviceOptions); then i get connect offline connection lost - will attempt reconnection in 1 seconds... close reconnect how is it possib...
Roninio
1

votes
0

answer
157

Views

kubernetes: Unable to get pod logs

I have set up a k8s cluster via Rancher UI on aws. I have deployed my app using several services and deployments. However, I am completely unable to get access to the pod/container logs. $ kubectl logs -f Unable to connect to the server: EOF What is more, when accessing the pod via the Kubernetes d...
pkaramol
1

votes
1

answer
62

Views

AWS SES sends same 'bounceRecipients' through SNS mulitple times

after the usual hair pulling efforts, I finally made AWSSimple Email Service push notifications to my REST end point through SNS and successfully applied the required business logic on those recipients. Points: You must be pushing multiple emails to that Recipient that's why more than one (unique) b...
Muhammad Faisal Hyder
1

votes
1

answer
374

Views

Amazon Cart API - CartCreate Response

I am using the Amazon Product Advertising API. I am using the CartCreate operation to create a remote shopping cart and add two items into it. Here is my CartCreate operation: http://webservices.amazon.com/onca/xml? AWSAccessKeyId=12AWSAccessKey12 AssociateTag=myweb-no Item.1.ASIN=erq1 Item.1.Quanti...
Really Best
1

votes
0

answer
65

Views

ASP.net web application deployed to elastic beanstalk giving 500 error

I have ASP.net web application running good in localhost. Then I published that application to AWS Elastic Bean Stalk. When I opened that URL, it shows 500 Internal Server Error. Please help me.
Rajiv Krishnaa
1

votes
2

answer
725

Views

Amazon API get all images from product

i have simple question because don´t find any answer for this. Actually i can use Amazon´s API for get informations about product from ASIN code, but in this image´s case, i can get one single image in different formats, big, middle thumb, etc, right ? In my case i want know if it´s possible get...
Jos
1

votes
1

answer
253

Views

AWS LAMBDA using java sdk SES Client times out

I have a very basic lambda function to send email The Code hangs on creating SES Client .i put logs before and after this statement of creating client . AmazonSimpleEmailService client = AmazonSimpleEmailServiceClientBuilder.standard().withRegion(Regions.EU_WEST_1) .withCredentials(new InstanceProf...
Ameen
1

votes
1

answer
183

Views

XGBoost does not use enough all resources while running Spark in AWS EMR

I'm trying to make a binary classification on a big dataset (5million rows x 450 features) using XGBoost Spark lib in AWS EMR. I've attempted setting many different configurations like: Number of XGboost workers, nthreads, spark.task.cpus, spark.executor.instances, spark.executor.cores. Even though...
Bruno Brito
1

votes
1

answer
93

Views

How to get access to AWS S3 bucket

I am trying to run a script from OpenTraffic repository, and it needs access to some AWS S3 buckets. I am unable to figure out how to get access to a particular AWS S3 bucket? FYI: OpenTraffic is a open source platform to obtain and analyse dynamic traffic data : https://github.com/opentraffic The s...
Ravi Kiran
1

votes
2

answer
595

Views

How to implement TTL on column in DynamoDB?

After reading DynamoDB(DDB) doc, I know there is only builtin TTL for item/row. Then I wonder if there is a convenient way to implement TTL for column? When a TTL expires, the value in the column of an item (if any) will be eliminated. The general use case is that some field of a row is of limited d...
jun shen
1

votes
0

answer
525

Views

Fallback option in Spring application properties

I have a REST Service built with Spring Boot where I'm using an application.yml file to setup environment variables. The REST service will be deployed to Amazon Elastic Beanstalk. I have setup Environment Properties in the configuration for the Environment (Configuration -> Software Configuration ->...
g3blv
1

votes
1

answer
226

Views

Uploading to S3 a video captured using Cordova Media Capture plugin using Javascript AWS SDK

I am facing a peculiar issue while trying to upload a video file (.mp4 and .mov) to S3, captured using [email protected] or picked from gallery using [email protected] I am using javascript AWS SDK v2.3.11 and calling the .upload function of the SDK. It only copies 15 Byt...
GeeDee
1

votes
2

answer
668

Views

Terraform v0.11.1 : Error downloading modules: Error loading modules: open .terraform/modules/3f10921295c292995128e9e36eb: no such file or directory

I have recently updated my terraform from v0.10.8 to v0.11.1 I am facing awkward issue while running terraform plan, For first time running the command it gives me proper plan in output but while running the same command 2nd time it gives me below error while loading the module. Error downloading mo...
Jayesh Dhandha
1

votes
1

answer
58

Views

Rake commands not working in Elastic Beanstalk production environment

I am having a tough problem with my Elastic Beanstalk environment. Any Rake commands respond with Abort testing: Your Rails environment is running in production mode!. rake db:migrate, even a simple command like rake:stats, responds the same way. On my local machine, everything works as expected....
Norm
1

votes
0

answer
370

Views

NodeJs process running out of memory on aws

I am running a nodeJS app on aws t2micro instance with Mongodb. This is how my index.js file on server looks like const db = require('./src/db'); const coins = require('./src/scrapers/populate-coins'); const scrape = require('./src/scrapers/index.js'); const settings = require('./src/trading/init-...
Gaurav
1

votes
1

answer
708

Views

AWS Amplify React Native, GET request error 403 status code

I enabled access to unauthenticated identities to do some quick testing before integrating authentication. My configuration code is the following, Amplify.configure({ Auth: { identityPoolId: 'us-east-1:example', region: 'us-east-1', userPoolId: 'us-east-1_example', userPoolWebClientId: 'us-east-1_ex...
David Kim
1

votes
3

answer
396

Views

Is it “okay” to host a small wordpress blog on one AWS EC2 Instance without load balancers/beanstalk?

This is a very simple question for those with the knowledge, but I'm a newbie. In essence, I just need to know if it would be considered okay to run a small, approx. 700 visitors/day bitnami wordpress blog on just one t2.medium EC2 instance (without any auto-scaling, beanstalk). Am at risk of it cra...
Scotchnowplease
1

votes
0

answer
319

Views

boto3 attached device name

I am trying to get the device name where an EBS volume is attached. I can pull the attach data, but would just like to isolate the device name. import boto3 from botocore.client import ClientError ec2 = boto3.resource('ec2') filters = [{ 'Name': 'tag:app', 'Values': [ 'splunklogidx' ], 'Name': 'tag...
outOfTune
1

votes
1

answer
402

Views

Do I give only the read-only RDS database permission for an aws lambda code, when I create custom role and edit the policy document this way?

I want to create an aws lambda code, which provides a public API for only read from an aws rds db instance. When I want to create a lambda function, it asks me about permission roles. Because I'm afraid, I want to give a very strict permission to the code to allow only the reading from the db instan...
user190528
1

votes
0

answer
98

Views

Can't pass out 3.5k req/s on AWS Varnish

I'm currently trying to deploy a Varnish on AWS. This varnish is intended to cache 1 file from S3 (only one file, less than 10kb), with a hit rate of 10k+ requests/s I've deployed my server on a m4.large instance (2vCPU / 8Gb Ram). I've launch a performance test from a Jmeter cluster but i can't pas...
Teddy Ferdinand
1

votes
1

answer
415

Views

AWS Cognito User Pool Sign In Missing Authentication Token

I am trying to authenticate my user in a Xamarin Forms cross platform app using AWS Cognito User Pools. I am able to sign up a user using the SignUpAysnc() and I can see it populate in the user pool in the AWS console. CognitoUserPool userPool = AmazonUtils.UserPool; Dictionary userAttributes = new...
Poodle Galluzzo
1

votes
3

answer
136

Views

How to found supported versions for Amazon SQS?

How to found latest supported version for an AWS service? Not latest. For example for Amazon SQS?
Anton Medvedev
1

votes
0

answer
148

Views

Geolite2 files taking up space on disk

Checking the disk use of my hosting account I have discovered a section called 'Another use' with more than 500MB (my plan has 2GB). I have contacted to them about that and they said me this: 'It looks like you have any plugin using geolite, which has generated files like these in the Tmp directory:...
Antonio
1

votes
0

answer
198

Views

InvalidToken Error when using Rest API for Downloading file in an S3 AWS bucket in Android

I am trying to use the Rest Api with temporary credentials to download images stored in an S3 bucket in AWS from my Android App. I need to use the rest API instead of the TransferUtility method included in the Android AWS SDK, because I want to use an image downloader for better performance. Accordi...
xyz
1

votes
0

answer
36

Views

What To Put as Mailgun Public Server URL

I have implemented parse-server-simple-mailgun-adapter with my Parse server to send email verifications and reset password emails. Everything is working perfectly fine, but I am concerned about the publicServerURL part because as of now I used my serverURL for this. So now when an email verification...
ap123
1

votes
2

answer
214

Views

AWS AppStream How do I test Session Context with SessionContextRetriever.exe

I'm using AWS AppStream to stream a legacy .NET client. The app requires a parameter to start up correctly, which it gets via SessionContext passed into the create_streaming_url API call. I'd like to test this interaction locally without having to redeploy my app for every debug iteration as that ta...
reets-dev
1

votes
1

answer
606

Views

How do you pass URL Parameters to a Lambda function using AWS API Gateway?

I am currently trying to create a Hello World Lambda function and test it through the API Gateway, as my intent is to provide a REST API using Lambda function. I have a very basic function handler that takes in an integer and outputs it as a string: public string FunctionHandler(int input, ILambdaCo...
bsayegh
1

votes
0

answer
85

Views

AWS - DynamoDB - CRUD methods doesn't work correctly

I really need Your help, I'm trying to create simple kitchen management application. I decided to use AWS with DynamoDB, I stucked with CRUD methods: add and delete methods seems to work fine, but I have big problems with editing database records. Error message in log file: 'Can not deserialize inst...
D.Zet
1

votes
1

answer
53

Views

AWS DynamoDB and PhP - Forbidden Error

Am using Amazon Elastic beanstalk and running a php server. Simple application program running fine however whenever am trying to connect to AWS DynamoDB, its giving me error Forbidden You don't have permission to access / on this server. Below is the code Not sure if I need to set-up some IAM role...
arj13
1

votes
1

answer
253

Views

Elastic Beanstalk went to invalid state with t1

The Elastic Beanstalk environment is running on t1.micro & db.t1.micro, where we tried to update the rds to db.m1.small instance. This configuration change has been made on the Elastic Beanstalk and it is on updating state for around 4 hours, we thought AWS stuck somewhere internally. In this meanti...
Saravana
1

votes
0

answer
54

Views

send sns topic alert when a specific file is uploaded to s3

I want to create a cloudwatch event which will send a sns topic alert when a file starting with SampleSheet is uploaded to a s3 bucket. below configuration creates alert for every object uploaded to s3: { 'source': [ 'aws.s3' ], 'detail': { 'eventSource': [ 's3.amazonaws.com' ], 'eventName': [ 'Pu...
nadish

View additional questions