AWS Set up: Difference between revisions

From bibbleWiki
Jump to navigation Jump to search
Created page with "=Introduction= This is the place where all of my setup I feel needs noting is done. =Serverless= There are some perquisites before starting <syntaxhighlighting lang="bash"> sudo npm install -g serverless sudo npm install -g serverless-bundle sudo npm install -g aws-sdk sudo npm install -g aws-cli </syntaxhighlighting> You will need to have a config file which defines your AWS Profiles to use <syntaxhighlighting lang="bash"> [bibble-nz-prod] region=ap-southeast-2 output..."
 
Line 11: Line 11:
You will need to have a config file which defines your AWS Profiles to use
You will need to have a config file which defines your AWS Profiles to use
<syntaxhighlighting lang="bash">
<syntaxhighlighting lang="bash">
[bibble-nz-prod]
[bibble-nz-prod]
region=ap-southeast-2
region=ap-southeast-2
output=json
output=json


[bibble-nz-nonprod]
[bibble-nz-nonprod]
region=ap-southeast-2
region=ap-southeast-2
output=json
output=json
</syntaxhighlighting>
</syntaxhighlighting>
You will need to have a credentials file
You will need to have a credentials file
<syntaxhighlighting lang="bash">
<syntaxhighlighting lang="bash">
[bibble-nz-prod]
[bibble-nz-prod]
aws_access_key_id=ABC1
aws_access_key_id=ABC1
aws_secret_access_key=123
aws_secret_access_key=123


[bibble-nz-nonprod]
[bibble-nz-nonprod]
aws_access_key_id=ABC2
aws_access_key_id=ABC2
aws_secret_access_key=456
aws_secret_access_key=456
</syntaxhighlighting>
</syntaxhighlighting>

Revision as of 03:26, 18 February 2022

Introduction

This is the place where all of my setup I feel needs noting is done.

Serverless

There are some perquisites before starting <syntaxhighlighting lang="bash"> sudo npm install -g serverless sudo npm install -g serverless-bundle sudo npm install -g aws-sdk sudo npm install -g aws-cli </syntaxhighlighting> You will need to have a config file which defines your AWS Profiles to use <syntaxhighlighting lang="bash">

[bibble-nz-prod]
region=ap-southeast-2
output=json
[bibble-nz-nonprod]
region=ap-southeast-2
output=json

</syntaxhighlighting> You will need to have a credentials file <syntaxhighlighting lang="bash">

[bibble-nz-prod]
aws_access_key_id=ABC1
aws_secret_access_key=123
[bibble-nz-nonprod]
aws_access_key_id=ABC2
aws_secret_access_key=456

</syntaxhighlighting>