AWS Articles
AWS Serverless Application Model
AWS Serverless Application Model (AWS SAM) is an abstraction of AWS CloudFormation for templating serverless AWS applications. Using a templating tool to define serverless infrastructure can be extremely helpful as applications grow in size. Codifying infrastructure allows for more visibility and replicability of services. I am going to highlight to some of the benefits of […]
AWS CloudWatch Metrics
AWS CloudWatch metrics are an extremely beneficial tool for monitoring both application code as well as AWS infrastructure. AWS offers many metrics for all of their services, as well as the ability to both push custom metrics and to parse CloudWatch logs to build custom metric filters. These metrics can be used to build dashboards, […]
AWS CodePipeline Continuous Deployment
AWS CodePipeline offers a continuous deployment pipeline which integrates well with serverless architectures. It offers infrastructure creation via AWS CloudFormation, code integration with GitHub (or other) code repositories, building and testing with AWS CodeBuild, and deployment with AWS CloudFormation (or AWS CodeDeploy). CodePipeline allows for various stages in the pipeline which correlate to steps such […]
AWS Lambda Versions and Aliases
Lambda is a great tool for micro service architectures. They are easy to configure, scale well, and have a pay for what you use model. As the services scale out it becomes important to establish development workflows that provide easy deployments and roll backs for production code. AWS Lambda versions and aliases provide configurations for […]
Serverless Auth with AWS Cognito
The rise of serverless architectures has accentuated the need for modular, robust user auth systems. While there are many options, I’m going to take a look at serverless auth with AWS Cognito. AWS Cognito offers both security with the use of the SRP protocol and JWT, as well as easy implementation. In AWS there several […]
Serverless ReactJS with AWS S3
Serverless computing compliments the microservice architecture very well. Instead of provisioning and monitoring a fleet of servers for all the various services, simply use the serverless architecture, only pay for what is used, and don’t spend dev time on maintaining and monitoring infrastructure. Also, by serverless’s cloud based nature and consumption use pricing, serverless architectures […]
NodeJS ES7 AWS Lambda
Running Node.js ES7 on Lambda is straightforward with Babel JS. While slightly inconvenient to have to rely on a compiler, some of the ES7 features such as async/await are invaluable to modern JavaScript programming. Along with deploying ES7 applications, comes the need to be able to test Lambda locally as it will not be possible […]
AWS DynamoDB Setup
DynamoDB is AWS’s NoSQL solution. While not the most robust NoSQL solution, DynamoDB offers low latency at scale and is a fully managed service. There are some features that are a bit odd, like pre-defining table throughput and a per index pay structure, but they’re relatively minor hurdles when compared to DynamoDB’s scalability and cost. […]
AWS S3 Web Hosting
Amazon’s Simple Storage Service (S3) is a simple, cheap way to store data. It’s not the lowest latency storage option available, but it is a great tool for scalable, durable storage, making it a perfect candidate for hosting a website. To get a site hosted, first create a bucket and enable Static Web Hosting under […]
AWS OpWorks
Amazon’s OpWorks allows for easy EC2 provisioning with Chef. Chef allows instances to configure all services, users, setting, dir/files, etc. as the instance is spun up. This allows for rapid infrastructure expansion and a consistent application stack. Before beginning, be sure there is a key pair associated with the account, which will allow access to […]