Open in app

Sign In

Write

Sign In

Vinayak Pandey
Vinayak Pandey

270 Followers

Home

About

Published in

DevOps.dev

·2 days ago

Shell Script To Get Deployment Status Using Bamboo REST API

Step 1: Generate a Personal access token in Bamboo with Read permission Step 2: Create a shell script with following code. Replace token with the token value you got from Bamboo. Also replace Bamboo URL, deployment_environment and plan_key accordingly. #!/bin/bash deployment_environment="DEV" current_time=`date +%s%3N` plan_key="TEST" token="MDQ" project_id=`curl --silent --insecure --header "Content-Type: application/json" --header "Authorization: Bearer $token"--request…

Bamboo

2 min read

Shell Script To Get Deployment Status Using Bamboo REST API
Shell Script To Get Deployment Status Using Bamboo REST API
Bamboo

2 min read


Published in

Towards AWS

·4 days ago

Forward Incoming Email To Another Email Address Using SES And Lambda

Reference: https://aws.amazon.com/blogs/messaging-and-targeting/forward-incoming-email-to-an-external-destination/ In this post, we’ll see how we can forward incoming email to another email address using SES and Lambda. AWS has provided a very good guide for this and you can check it out at https://aws.amazon.com/blogs/messaging-and-targeting/forward-incoming-email-to-an-external-destination/. However the Lambda code given in the guide has 2 problems:

AWS

1 min read

Forward Incoming Email To Another Email Address Using SES And Lambda
Forward Incoming Email To Another Email Address Using SES And Lambda
AWS

1 min read


Published in

AWS in Plain English

·May 14

Filtering DNS Traffic Using Route53 DNS Firewall

In this post, we’ll see how we can use Route53 DNS Firewall to filter DNS traffic from our VPC. Step 1: Go to Route53->DNS Firewall->Domain lists and create a domain list named block and add *. as domain. Create another domain list named test and add *.amazonaws.com. and google.com. …

AWS

3 min read

Filtering DNS Traffic Using Route53 DNS Firewall
Filtering DNS Traffic Using Route53 DNS Firewall
AWS

3 min read


Published in

AWS Tip

·May 10

Using git-crypt To Securely Store SSM Parameter Values In GitHub

In this post, we’ll see how we can use git-crypt to securely create and store SSM Parameter values in GitHub. Step 1: We’ll use Terraform to create SSM parameters. For this, create a directory named git_crypt_ssm and inside that directory, create main.tf with following content: data "aws_kms_key" "ssm" {…

AWS

2 min read

Using git-crypt To Securely Store SSM Parameter Values In GitHub
Using git-crypt To Securely Store SSM Parameter Values In GitHub
AWS

2 min read


Published in

AWS in Plain English

·Apr 19

Handling Case Insensitive CloudFront Path Patterns With Lambda@Edge

Reference: https://aws.amazon.com/blogs/networking-and-content-delivery/dynamically-route-viewer-requests-to-any-origin-using-lambdaedge/ Lambda@Edge example functions See the following sections for examples of using Lambda functions with CloudFront. The examples in this section…docs.aws.amazon.com As per https://repost.aws/knowledge-center/cloudfront-not-following-cache-behavior, Path patterns specified in CloudFront are case-sensitive. So if you have a path pattern as /secondbucket and try to access cloudfront_dns/Secondbucket, it will be routed to the default behavior.

AWS

3 min read

Handling Case Insensitive CloudFront Path Patterns With Lambda@Edge
Handling Case Insensitive CloudFront Path Patterns With Lambda@Edge
AWS

3 min read


Published in

AWS Tip

·Apr 13

Using CloudFront Functions For URL Rewriting

In this post, we’ll see how we can use CloudFront Functions for URL Rewriting. Step 1: Create 2 buckets. I have cloudfront1989 and cloudfront1989second as my bucket name and then uploaded an index.html file in cloudfront1989 bucket and index.html and static/index.js file in cloudfront1989second bucket. Step 2: Create a CloudFront…

AWS

3 min read

Using CloudFront Functions For URL Rewriting
Using CloudFront Functions For URL Rewriting
AWS

3 min read


Published in

AWS Tip

·Apr 10

Using AWS Resiliency Hub With EKS Cluster

Recently AWS announced AWS Resilience Hub support for Amazon EKS. In this post, we’ll see how it works. Reference: https://aws.amazon.com/about-aws/whats-new/2023/03/aws-resilience-hub-amazon-eks/ Enabling AWS Resilience Hub access to your Amazon Elastic Kubernetes Service cluster AWS Resilience Hub assesses the resiliency of an Amazon Elastic Kubernetes Service (Amazon EKS) cluster by analyzing…docs.aws.amazon.com

AWS

3 min read

Using AWS Resiliency Hub With EKS Cluster
Using AWS Resiliency Hub With EKS Cluster
AWS

3 min read


Published in

AWS in Plain English

·Mar 30

Website Defacement Monitoring Using Amazon CloudWatch Synthetics

In this post, we’ll see how we can setup a simple Website Defacement Monitoring using Amazon CloudWatch Synthetics. Reference: https://aws.amazon.com/blogs/mt/visual-monitoring-of-applications-with-amazon-cloudwatch-synthetics/ Note: us-west-2 region was used for this setup. Step 1: Install a simple LAMP application by using the LAMP_Single_Instance.template provided by https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/cfn-sample-templates.html

AWS

3 min read

Website Defacement Monitoring Using Amazon CloudWatch Synthetics
Website Defacement Monitoring Using Amazon CloudWatch Synthetics
AWS

3 min read


Published in

Towards AWS

·Mar 28

X-Ray Tracing With Lambda And API Gateway

In this post, we’ll see how we can use X-Ray tracing with Lambda And API Gateway. — Step 1: Create a simple CRUD API by following the instructions given at https://awstip.com/crud-application-using-api-gateway-lambda-dynamodb-and-python-84d486c87df4 Step 2: Enable X-Ray tracing for your API Gateway stage. Step 3: Enable X-Ray tracing for your Lambda function.

AWS

2 min read

X-Ray Tracing With Lambda And API Gateway
X-Ray Tracing With Lambda And API Gateway
AWS

2 min read


Published in

AWS in Plain English

·Mar 25

CloudTrail Log Analysis Using Athena Partition Projection

Recently we had a requirement to pull monthly CloudTrail events for some audit purpose. The obvious approach is to use Athena and pull the data but the catch is that CloudTrail S3 bucket contains years of data and we only need last month’s data. …

AWS

3 min read

CloudTrail Log Analysis Using Athena Partition Projection
CloudTrail Log Analysis Using Athena Partition Projection
AWS

3 min read

Vinayak Pandey

Vinayak Pandey

270 Followers

Experienced Cloud Consultant with a knack of automation. Linkedin profile: https://www.linkedin.com/in/vinayakpandeyit/

Following
  • Bhargav Bachina

    Bhargav Bachina

  • Teri Radichel

    Teri Radichel

  • Qwiklabs

    Qwiklabs

  • Netflix Technology Blog

    Netflix Technology Blog

  • Guillermo Musumeci

    Guillermo Musumeci

See all (39)

Help

Status

Writers

Blog

Careers

Privacy

Terms

About

Text to speech