Questions tagged [amazon-web-services]

Amazon Web Services (AWS) is a cloud service that offers IaaS (Infrastructure as a Service) and SaaS (Software as a Service) solutions. Only questions about programming in relation to AWS are on-topic. General server help can be obtained at https://serverfault.com. The AWS tag is rarely used alone and will usually be used with other tags to more clearly define the topic of the question.

If you need help setting up AWS resources, ask those questions on Server Fault.

AWS is a cloud service that offers IaaS (Infrastructure as a Service) and SaaS (Software as a Service).

SDKs to access and manage Amazon Web Services are provided in a multitude of programming languages, including PHP, Java, .NET, Node.js, Python, and more. The services are also accessible through REST and SOAP APIs, a command-line interface, and a web console.

Resources:

Related Tags

154810 questions
28
votes
4 answers

Elastic beanstalk deployment taking longer than timeout period, how do I increase timeout period

Elastic beanstalk deployment of a new environment for an application using the AWS website warns Create environment operation is complete, but with command timeouts. Try increasing the timeout period and although it eventually shows environment as…
Paul Taylor
  • 13,411
  • 42
  • 184
  • 351
28
votes
3 answers

Restricting S3 bucket access to a VPC

I am trying to apply the following policy in order to restrict my_bucket's access to a particular VPC. When I try to apply this as a bucket policy, I get an Policy has an invalid condition key - ec2:Vpc. How do I correct this? { "Version":…
Lelouch Lamperouge
  • 8,171
  • 8
  • 49
  • 60
28
votes
5 answers

AngularJS SEO for static webpages (S3 CDN)

I've been looking into ways to improve SEO for angularJS apps that are hosted on a CDN like Amazon S3 (i.e. simple storage with no backend). Most of the solutions out there, PhantomJS, prerender.io, seo.js etc., rely on a backend to recognise the…
advert2013
  • 9,734
  • 3
  • 24
  • 35
28
votes
2 answers

DynamoDB most efficient date type

I see that DynamoDB is essentially limited to three data types: String, Number, and Binary. That seems to leave two options for storing a date or timestamp: String of an 8601 date/time format or Unix timestamp Number of a Unix timestamp I will…
Eric Di Bari
  • 3,767
  • 7
  • 40
  • 49
28
votes
3 answers

Listing instance name among other data with aws-cli 1.3.6

Using aws-cli 1.3.6 I am trying to get a simple table of my ec2 instances with the Name and state. I have been looking at the --query and JMESpath documentation and I have been able to select the "Value" item of a Map which "Key" item is equal to…
c-garcia
  • 598
  • 1
  • 9
  • 17
28
votes
6 answers

Trying to Install AWS CLI, stuck on a step

Im trying to install aws for the mac command line, I guess I dont understand what I need to do I installed the aws bundle with wget on the terminal, unziped it did everything, but when I need to configure my credentials nothing comes up when I put…
28
votes
4 answers

AWS: Cloud Formation: Is it possible to use multiple "DependsOn"?

Given i have this example template: { "AWSTemplateFormatVersion" : "2010-09-09", "Mappings" : { "RegionMap" : { "us-west-1" : { "AMI" : "ami-655a0a20" }, ... } }, "Resources" : { …
SG 86
  • 6,974
  • 3
  • 25
  • 34
28
votes
4 answers

Redirect to https through url rewrite in IIS within elastic beanstalk's load balancer

How do you use IIS's url rewrite module to force users to use ssl while you are behind an elastic beanstalk load balancer?
28
votes
8 answers

Connecting to Amazon RDS instance through EC2 instance using MySQL Workbench

In AWS I have a VPC set up with a Bastion Host. The bastion host is a single EC2 instance with a public address trough which you can SSH to any other server on the VPC. I have created an RDS MySQL instance within the VPC and I would like to connect…
iamyojimbo
  • 4,233
  • 6
  • 32
  • 39
28
votes
1 answer

Amazon SQS message multi-delivery

I understand that to bring vast scalability and reliability, SQS does extensive parallelization of resources. It uses redundant servers for even small queues and even the messages posted to the queues are stored redundantly as multiple copies. These…
inquisitive
  • 3,549
  • 2
  • 21
  • 47
28
votes
5 answers

Need help deciding between EBS vs S3 on Amazon Web Services

I'm working on a project that incorporates file storage and sharing features and after months of researching the best method to leverage AWS I'm still a little concerned. Basically my decision is between using EBS storage to house user files or S3.…
andrewvnice
  • 463
  • 1
  • 4
  • 10
28
votes
6 answers

How do I import a local MySQL db to RDS db instance?

I've created a RDS instance called realcardiodb (the engine is mysql) and I've exported my database from my localhost. File is saved locally called localhostrealcardio.sql Most research says to use mysqldump to import data from a local system to a…
Derek
  • 475
  • 1
  • 9
  • 18
27
votes
10 answers

Need to perform AWS calls for account xxx, but no credentials have been configured

I'm trying to deploy my stack to aws using cdk deploy my-stack. When doing it in my terminal window it works perfectly, but when im doing it in my pipeline i get this error: Need to perform AWS calls for account xxx, but no credentials have been…
gospecomid12
  • 712
  • 3
  • 11
  • 25
27
votes
8 answers

AWS s3 V3 Javascript SDK stream file from bucket (GetObjectCommand)

Iv looked all over AWS docks and stack overflow (even went to page 4 of google!!!) but i cannot for the life of me work out how to stream a file from S3. The docs for V3 are pretty useless and all the examples i find are from V2. The send commond…
Jay Povey
  • 539
  • 2
  • 6
  • 15
27
votes
4 answers

Failed to terminate ec-2 instance: How to modify its 'disableApiTermination' attribute from EC2 Dashboard?

I opened a free tier instance for some practice. I tried to terminate it, as I've done many times successfully. But upon selecting Terminate instance from the dropdown; I got the following error: Failed to terminate the instance The…
ilam engl
  • 1,310
  • 1
  • 9
  • 22