Skip to content

mchavva413/CIS470-Activity-6-CICD-AWS

Repository files navigation

CIS470-Activity-6 (CI/CD pipeline)

Basics of CI/CD pipeline, Deploying Lambda function

Running version: https://ywxzcp9yp2.execute-api.us-east-1.amazonaws.com/default/CIS470-Activity-6

Activity Objectives

Experiment with the use of AWS Lambda functions, and deploy them to AWS Lambda. Run a CI/CD pipeline to deploy your Lambda function to AWS Lambda.

Activity Details

Create a GitHub repository

You can fork the repository here and create a new repository. or You can start your repository.

Open an AWS account

You will need to go to the AWS console and create an account: https://aws.amazon.com/free Note that Lambda is free.

Create an AWS Lambda function

Create a new Lambda function in your AWS account. The Lambda function name should be CIS470-Activity-6.

1. In the AWS console, click Lambda in the navigation pane.

2. Click Create Function.

3. Enter the name of the function as CIS470-Activity-6, and follow the steps.

4. Click Next.

Now you should see a new Lambda function. The missing part is the code and the trigger. Add a new trigger.

5. In the trigger section, select AWS API Gateway and click Next (refer to the attached screenshot).

Having set the API and made the Lambda function, you can now deploy it to Lambda.

In order to deploy to Lambda, you need to have the access key and the secret key. Check the video below to see how you can make the access key and secret key. Also, follow the video steps to add the keys to your GitHub repository secret keys.

AWS_User.mp4

Deliverables of the Assignment:

Running lambda function in AWS Lambda: Include the link to the running lambda function.

In the next Activity, we will use this lambda function to add test, and run it.

Triggering GitHub Actions

Triggering GitHub Actions again Triggering after updating secrets

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages