wiki.getshifting.com

--- Sjoerd Hooft's InFormation Technology ---

User Tools

Site Tools


start

SHIFT-WIKI - Sjoerd Hooft's InFormation Technology

This WIKI is my personal documentation blog. Please enjoy it and feel free to reach out through blue sky if you have a question, remark, improvement or observation. See below for the latest additions, or use the search or tags to browse for content.


AWS Toolkit for VS Code

Summary: Getting started with the AWS Toolkit for VSCode for Lambda functions.
Date: Around 2019
Refactor: 4 January 2025: Checked links and formatting.

Goal: Start working with AWS Toolkit for VS Code

  • to use with Lambda and Step Functions
  • Reason: Keep everything in source control
  • Target: Create, Update and Deploy Lambda functions and step functions from VS Code
    • Data must be in a Azure DevOps project
    • View Cloudwatch logs
  • How: Use the 10 minute tutorial for Step Functions
  • Note that this page gets continued in SAM - Combining Lambda and Step Functions in AWS Toolkit for VS Code in which we also deploy the step function from the SAM.

→ Read more...

2025/06/01 11:59

AWStats - Statistics for your Webserver

Summary: How to configure AWstats in your apache webserver or reverse proxy.
Date: Around 2011
Refactor: 20 February 2025: Checked links and formatting.

In this page we extend our Apache Reverse Proxy with a statistics tool called awstats, which is nothing more than a collection of perl scripts and tools.

→ Read more...

2025/06/01 11:59

AWS Lambda - Invoke new Lambda

Summary: How to use a lambda to invoke a new lambda
Date: Around 2022
Refactor: 20 February 2025: Checked links and formatting.

It would be better to do this using Step Functions but sometimes quick and dirty is good enough. See the code below to invoke a new Lambda function onze your current one is done.

// Lambda Variables
var aws = require('aws-sdk');
var lambda = new aws.Lambda({
  region: 'eu-west-1' //change to your region
});
 
// Invoke nextlambda if you don't want to use Step Functions
 
// function invoke Email
function invokeLambdaEmail(requestBody, callback, error){
    var params = {
        FunctionName: 'sendoutEmail',
        InvocationType: 'Event',
        Payload: JSON.stringify(requestBody, null, 2)
      };
      lambda.invoke(params, function(err, data) {
        if (err) console.log(err, err.stack); // an error occurred
        else     console.log(data);           // successful response
      });
}

This wiki has been made possible by:

2025/06/01 11:59

Getting Started With AWS

Summary: How to get started with the AWS Cloud.
Date: Around 2019
Refactor: 20 February 2025: Checked links and formatting.

This article describes some basic steps on getting started with AWS. Used technologies:

  • AWS Accounts
  • AWS Organizations
  • Billing: Tax and Budget
  • AWS CloudTrail

→ Read more...

2025/06/01 11:59

<< Newer entries | Older entries >>

This wiki has been made possible by:

start.txt · Last modified: by sjoerd