Image for post
Image for post

If you manage a lot of servers and are remotely accessing them via SSH, you’ll know it’s a pain to remember and type out the full command. Especially if there’s multiple keys for each server that you want to connect to. Currently we’d need to type the command ssh -i /path/my-key-pair.pem endpoint-ip.me.com , making sure the path and IP/endpoint is accurate. This is laborious and unnecessary.

Thankfully, there’s a shortcut.

Using a config file in your ~/.ssh directory, we can create aliases. …


Image for post
Image for post

AWS SAM stands for Serverless Application Model and serves as a framework to build serverless apps on AWS. This is a collection of Lambda functions and other AWS resources that come together to form an app.

Whilst you are able to upload a lambda function and use the lambda console exclusively for simple apps, SAM offers a standardised template and process for developing, building and deploying apps.

I moved away from using just Lambda when I found myself having to bundle and build my ruby function in a docker container using the same image as Lambda uses to ensure it was compatible. It proved a pain as the complexity of the project grew. …


Image for post
Image for post

Following on from my previous post, Serverless GraphQL React App using AWS Amplify — Part One, we’ll be looking at further developing the UI as well as implementing the basic CRUD (create, read, update, delete) functions.

All source code is available here.

Currently our site looks a little something like this, pretty useless at the moment…

Let’s start by developing the ability to Create items. …

About

James Hamann

Software Developer https://jameshamann.com

Get the Medium app

A button that says 'Download on the App Store', and if clicked it will lead you to the iOS App store
A button that says 'Get it on, Google Play', and if clicked it will lead you to the Google Play store