Accounts (AWS, GCP, CircleCI)
Getting Started with AWS
Signup for an AWS account
Create an IAM role for your use cases e.g. serverless-admin
You don't want to give the serverless-admin access to all feature of aws. Therefore you create a new IAM user that only has the rights a serverless developer needs e.g. access to AWS Lambda, Dynamodb, S3, API Gateway, CloudDeployment and Logs. You use this user for the AWS CLI and the Serverless framework.











More infos on the required permissions:
Install AWS CLI
Source: https://docs.aws.amazon.com/de_de/cli/latest/userguide/cli-chap-getting-started.html
Configure multiple Profiles:
Set the profile:
Source: https://docs.aws.amazon.com/cli/latest/userguide/cli-multiple-profiles.html
Securely store your keys and secrets in your rsh file
You don't want to store your secrets in plain text in a file like .rshrc therefore you can use lpass cli [github / documentation] and store your secrets in your osx keychain and access them only by reference.
Installation
Set variables in lastpass
Just create a secret note within lastpass:

Login to lpass in the command line
Set environment variable (e.g. key_id (username) and secret(password)
Getting started with GCP
Setup Google Cloud Functions for Serverless:
Create a Google Cloud Billing Account
Create a new Google Cloud Project
Enable the necessary APIs
Get credentials
For serverless: Update the
providerconfig inserverless.yml
Accessing files in lpass
Setup an ecrypted folder and sync with google drive
Last updated