AWS: How to disable all services?

You can close your entire account in AWS Billing: https://console.aws.amazon.com/billing/home?#/account Or if you just want to disable your “Free-Tier” services that has charges, view them here: https://console.aws.amazon.com/billing/home#/freetier Then open your EC2 dashboard – and cancel those services: https://us-west-2.console.aws.amazon.com/ec2 For example: Stop running instances, delete volumes, remove elastic IPs, etc. Otherwise, I recommend sending an email … Read more

Why do we need private subnet in VPC?

Update: in late December, 2015, AWS announced a new feature, a Managed NAT Gateway for VPC. This optional service provides an alternative mechanism for VPC instances in a private subnet to access the Internet, where previously, the common solution was an EC2 instance on a public subnet within the VPC, functioning as a “NAT instance,” … Read more

What is CPU Credit Balance in EC2? [closed]

AWS EC2 has 2 different type of instances: Fixed Performance Instances(e.g. M3, C3 etc) and Burstable Performance Instances (e.g. T2). Fixed Performance Instances provides a consistent CPU performance whereas Burstable Performance Instances provide a baseline CPU performance under normal workload. But when the workload increases Burstable Performance Instances have the ability to burst, i.e. increase … Read more

What is the difference between Amazon S3 and Amazon EC2 instance? [closed]

An EC2 instance is like a remote computer running Windows or Linux and on which you can install whatever software you want, including a Web server running PHP code and a database server. Amazon S3 is just a storage service, typically used to store large binary files. Amazon also has other storage and database services, … Read more

Amazon S3 exception: “The specified key does not exist”

Well this error is actually rather straight forward.  it simply means that your file does not exist up within the S3 bucket.  Several things could be wrong: You could be trying to reference the wrong file.  Double check the path that you tried to retrieve. Whenever the file was uploaded it must have failed.  Check … Read more

Force CloudFront distribution/file update

Good news. Amazon finally added an Invalidation Feature. See the API Reference. This is a sample request from the API Reference: POST /2010-08-01/distribution/[distribution ID]/invalidation HTTP/1.0 Host: cloudfront.amazonaws.com Authorization: [AWS authentication string] Content-Type: text/xml <InvalidationBatch> <Path>/image1.jpg</Path> <Path>/image2.jpg</Path> <Path>/videos/movie.flv</Path> <CallerReference>my-batch</CallerReference> </InvalidationBatch>

AWS ECS Error when running task: No Container Instances were found in your cluster

I figured this out after a few more hours of investigating. Amazon, if you are listening, you should state this somewhere in your management console when creating a cluster or adding instances to the cluster: “Before you can add ECS instances to a cluster you must first go to the EC2 Management Console and create … Read more

Hata!: SQLSTATE[HY000] [1045] Access denied for user 'divattrend_liink'@'localhost' (using password: YES)