Category: Cloud Computing

  • How to find API gateway URLs

    How to find API gateway URLs

    AWS API gateway is a phenomenal service from AWS because it has all of the features somebody could ever want in an API gateway.

  • Introduction to API Gateway

    Introduction to API Gateway

    An API gateway is essential part of organizing requests that need to be processed by different microservices.

  • Migrating an Existing Express.js Based application to the Serverless Framework

    Migrating an Existing Express.js Based application to the Serverless Framework

    AWS Lambda allows us to dramatically lower our costs for running an application. It’s fairly easy to convert an Express.js app into running in the serverless framework.

  • Serverless Offline causes MongoDb Atlas to run out of connections

    Serverless Offline causes MongoDb Atlas to run out of connections

    I was recently working on a serverless api that uses serverless offline, express.js and mongodb. We started getting emails from MongoDB Atlas telling us that we ran out of connections.

  • Why small companies and startups should use serverless architecture

    Why small companies and startups should use serverless architecture

    There are quite a few different reasons to consider using serverless instead of looking at building a monolith or building services in containers.

  • Getting started with Serverless Framework

    Getting started with Serverless Framework

    The Serverless Framework allows us to abstract away quite a bit of the complexity from setting up lambda functions and the necessary events to execute them, especially through the API gateway. In this blog post we look at how to set up a simple project to use the serverless framework.

  • AWS Lambda logging best practices

    AWS Lambda logging best practices

    Logging is very important to developers as it helps us more efficiently debug a system in production and the steps that led to the occurrence of the bug. In this post, we look at ways to make logging better.

  • Updating to the Latest Version of Serverless

    Updating to the Latest Version of Serverless

    The Serverless Framework is a free open source framework that allows us to easily build applications on cloud providers like AWS using serverless computing. As you may remember, it needs to be installed globally which means we need to do the update globally and we’ll need to potentially update all of our projects for any breaking changes.

  • Introduction to Amazon RDS

    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.

  • AWS Tools to Optimize and Reduce AWS Costs

    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 […]

  • Best Practices for AWS Lambda & Logging

    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.

  • Cloud Design Principles

    Cloud Design Principles

    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.

  • Running Serverless Framework Functions Locally

    Running Serverless Framework Functions Locally

    Developing locally makes a lot more sense than deploying to a dev environment consistently because it helps save time, save some cloud costs, and avoids obvious embarrassment. 🙂

  • What is an Enterprise Service Bus?

    What is an Enterprise Service Bus?

    An enterprise service bus (ESB) is a software architecture that allows for the integration of enterprise applications and services. Since an enterprise service bus is a middle layer communication tool there are a number of great features that might exist.

  • Introduction to Aurora RDS

    Introduction to Aurora RDS

    Aurora is part of Amazon Web Service’s Relational Database Service. Aurora is a MySQL or PostgreSQL compatible database build for the cloud.

  • Introduction to AWS CloudWatch

    Introduction to AWS CloudWatch

    AWS CloudWatch is a monitoring solution that’s provided by Amazon Web Services. It’s really a big service that contains a large collection of monitoring tools.

  • AWS Lambda: pricing model and pitfalls

    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.

  • Reducing Cloud Costs in AWS

    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.

  • How to Resolve Serverless error: lambda is not a function

    How to Resolve Serverless error: lambda is not a function

    When trying to invoke any of your lambda functions if you are getting an error that says “lambda is not a function” the problem is likely that the handler is misspelled in the serverless.yml file OR you aren’t exporting modules.exports.handler and are instead exporting something else.

  • Setting CloudWatch Rentention Policies in Serverless

    Setting CloudWatch Rentention Policies in Serverless

    The serverless default for CloudWatch Logs is to keep the logs forever. CloudWatch Logs are pretty expensive to keep around indefinitely. In the serverless.yml file, we’re able to set how long the cloudwatch logs are kept for. I recommend keeping them for at least 7 days but 30 days is probably more ideal.