Tag: AWS

Resolving Slow WordPress Websites

Website loading at a snail's page

Slow WordPress websites can be difficult to improve especially if we don’t have a plan on how to resolve the problem. I have a list of five recommendations that I always look at doing when trying to resolve speed issues.

Continue reading

Introduction to Amazon RDS

AWS has hundreds of services available through their console or through their SDK. Amazon RDS is one of the most commonly used services. Amazon RDS standards for Relational Database Service – essentially it’s a large collection of different SQL databases.

Continue reading

AWS Tools to Optimize and Reduce AWS Costs

Cloud costs can become expensive really fast if we aren’t consistently tracking and modelling our expenses. There are a number of ways that we can track our costs leading to a lower total cost.

AWS Cost Explorer

In the AWS User Interface, we are able to use a service called Cost Explorer which gives us an interface to look at our costs by service, by cost tag, and looks at predictions for the next three months based on current usage. AWS also gives potential recommendations on how to reduce costs.

AWS Budgets

The AWS Budgets interface allows us to track cost per service, service usage, and our reserved instance utilization. Reserved Instances are a commitment to use a certain service or EC2 instance for a length of time which results in a billing discount from AWS. I’ve seen discounts as high as 72% if you’re willing to commit to three years and pay upfront.

AWS TCO Calculator

The AWS TCO Calculator allows technology departments or architects to determine what could be saved by leveraging cloud infrastructure.

AWS Simple Monthly Calculator

The Simple Monthly Calculator is an easy way to determine the rough costs for running specific AWS infrastructure. It’s suppose to be deprecated soon but the Pricing Calculator doesn’t have all of the same features today.

AWS Resource Tags

AWS Resource Tags are metadata that is assigned to a specific resource in the AWS account. They’re a great way to track usage across departments, environments or projects. The Cost Allocation Report can include costs grouped by active tags.

The tags can also be utilized in the AWS Cost Explorer to better understand the costs and better allocate costs against departments, projects or environments. I love to use Resource Tags to reference the various environments (dev, staging, and production).

Best Practices for AWS Lambda & Logging

Having your application / system produce the right amount and quality of logs is just as important as having the system process the needed data because it helps make debugging easier and allows us to better optimize data.

Logging on AWS lambda can be really costly if it’s not done correctly.

Continue reading

Cloud Design Principles

Cloud

Cloud computing is basically using servers whether they be for databases, storage, application or something else through the internet.

Cloud computing’s inherent strengths are elasticity, ability to automate infrastructure management, enhanced reliability and reduced cost.

Continue reading

AWS Lambda: pricing model and pitfalls

The pay per use pricing model of function as a service makes it appear to be really cheap. For a lot of workloads, it is really a lot cheaper and maybe even free. There’s a lot of costs that can quickly add up and surprise businesses.

Continue reading

Reducing Cloud Costs in AWS

It’s not secret that the cloud can be a lot cheaper than running hardware in our own data center. Unfortunately, a lot of AWS accounts spend a lot of money they don’t need to because of automation or things not getting shut off. In this blog post, we’ll cover some of the ways to reducing Cloud Costs in AWS.

Continue reading

5 Reasons to Use AWS Lambda

In late 2014, AWS Lambda launched and has grown in widespread use since then. AWS lambda is a serverless computing technology which has been a game change for software development.

AWS Lambda is a service that makes it easy to build small scalable applications. Lambdas are small functions that are packaged up and sent to AWS. Using a framework like the serverless framework makes it fairly easy to work with and pretty efficient.

Lambda is event driven. It works by responding to events whether they be timed, API driven or responding to events within AWS. One of the most common examples of using lambda is to resize images that have been uploaded to an S3 bucket.

Lambda is stateless meaning that every time a function is triggered, it is a completely new environment.

There’s so many reasons to use AWS Lambda. It’s easy to get started with it, it’s massively flexible, it is very scalable and more. Continue reading

What is Cloud Computing?

What is Cloud Computing

Cloud computing is basically using servers whether they be for databases, storage, application or something else through the internet. There’s quite a few different cloud computer providers – they’re billing schemes are typically very similar to how you would pay for electricity or gas for you car. Continue reading

AWS/ Serverless Fixing AccessDeniedException

“Unhandled rejection AccessDeniedException: Your access has been denied by EC2, please make sure your function execution role have permission to CreateNetworkInterface. EC2 Error Code: UnauthorizedOperation. EC2 Error Message: You are not authorized to perform this operation.”

That’s a pretty annoying error to receive when deploying from Serverless to AWS, but the fix is really pretty simple.
Continue reading