• Skip to main content
  • Skip to primary sidebar
  • Skip to footer

securitywing

wing

How to Setup a Maintenace Page Message in AWS ALB

AWS application load balaner supports setting up a custom response for specific domain. If you need a easier method to serve a maintnace message from ALB you need to inject  a new rule with fixed response. The fixed response can be a 5xx status code wtih custom html. To add a custom rule using AWS CLI, you need to have AWS CLI installed with the right permission and need  to create a couple of JSON files such as one for creating a new listener ule and another one to delete the rule when you are done with the website maintenace. [Read more…] about How to Setup a Maintenace Page Message in AWS ALB

How to Install AWS CLI and Terraform in Jenkins Docker Container

To install a AWS CLI in a Jenkins running on a docker container, you can follow the below steps. But it would be better if you create  a custom  Jenkins docker file with AWS CLI and then create a custom image to spin up the Jenkins container. But sometimes, you may need to install various packages.

 

Install AWS CLI in Jenkins Docker Container

  1. Take a note of the running Jenkins containers and then run to login as a root

         docker exec -u 0 -it 85f0af1f40e4 bash

  1. Next, update the packages list:

         apt-get update

  1. Download AWS CLI zip file from AWS.

[Read more…] about How to Install AWS CLI and Terraform in Jenkins Docker Container

How to Resolve Route 53 Privated Hosted zone from a VPC in a different AWS account

When you have mulitiple AWS accounts and a specific privated DNS  name that you want to resolve from a VPC in a different account you need to allow the hosted zone  to be resolved from a differnet acccount. For example, you have a hosted zone in account A  with several types of records and you want a DNS query for that zone get resovled from a specific VPC in account B. To allow the account B VPC resolve the hosted zone of account A, you need to do the following

[Read more…] about How to Resolve Route 53 Privated Hosted zone from a VPC in a different AWS account

3 Easy Steps to Create EKS(kubernetes) Cluster in AWS

One of the most easy to use tool for the beginners is that eskctl that help to quickly deploy Kubernetes cluster in AWS. We will share with you easy 3 steps creating a AWS managed EKS cluster with one EC2 worker node. To access the cluster we will install a dashboard using kube proxy that will allow you to access the dashboard from your local machine.

  1. install eskctl tool
  2. create the cluster
  3. setup the dashboard.

[Read more…] about 3 Easy Steps to Create EKS(kubernetes) Cluster in AWS

How to Enable AWS Cross Account ECR Image Replication

Docker image hosted in ECR in  a AWS account can be replicated into another AWS account by enabling the cross account replication setup. For example, you host a docker image in AWS account A and you have a ECS cluster where you need to deploy the docker image.  

aws cross account ECR repository replication

[Read more…] about How to Enable AWS Cross Account ECR Image Replication

How to Permanently Auto-Mount EFF Volume to EC2 instance using User-Data

Amazon elastic file system( EFS) can be mounted automatically using user-data while spinning up the Instance. This post aims to show both auto and manual mount of EFS volume.

Before you start mounting the EFS volume, make sure that you have the EFS ID with you and the EFS security group is open on port 2049 for the EC2 IP or subnets. [Read more…] about How to Permanently Auto-Mount EFF Volume to EC2 instance using User-Data

3 Steps to setup SSH remote Access to EC2 from Cloud9

When you need to connect securely to  an already running EC2 instance via SSH from a Cloud9, you need to prepare
the instance for Cloud9. AWS Cloud9  generate a SSH public key to connect securely to your EC2 server. To start a secure
connection from Cloud9 via SSH you need to setp the the SSH key, generated by Cloud9, to EC2.
 

[Read more…] about 3 Steps to setup SSH remote Access to EC2 from Cloud9

3 Steps to Setup EC2 EBS Volume Disk Space Monitoring using Cloudwatch

The default monitoring of Amazon EC2 does not track the EBS disk space. To monitor disk space in EC2 instance, you need can either manually installed Cloudwatch Agent or can use SSM to install the agent. After installing you

Step 1. Instal cloudwatch agent
sudo yum -y install amazon-cloudwatch-agent

Step 2. create a config.json file  in the following location.

/opt/aws/amazon-cloudwatch-agent/bin/config.json


{
"agent": {
"metrics_collection_interval": 60,
"run_as_user": "root"
},
"metrics": {
"append_dimensions": {
"AutoScalingGroupName": "${aws:AutoScalingGroupName}",
"ImageId": "${aws:ImageId}",
"InstanceId": "${aws:InstanceId}",
"InstanceType": "${aws:InstanceType}"
},
"metrics_collected": {
"disk": {
"measurement": [
"used_percent"
],
"metrics_collection_interval": 60,
"resources": [
"*"
]
},
"mem": {
"measurement": [
"mem_used_percent"
],
"metrics_collection_interval": 60
}
}
}
}
[Read more…] about 3 Steps to Setup EC2 EBS Volume Disk Space Monitoring using Cloudwatch

3 Easy Steps to Create and Deploy AWS SAM Template

AWS SAM template is an abstraction layer, runs on the top of CloudFormation,  for creating serverless resources. So, when you run a SAM template to create a Lambda function or an  API gateway, it generates a CloudFormation stack behind the scene. The main purpose is ease-of-management of serverless resources in AWS. 

SAM Vs. CloudFormation: when to use AWS  SAM instead of CloudFormation?

Though there are multiple ways of creating serverless resources like serverless framework, CloudFormation, Terraform, and AWS CDK, the SAM template can be run locally to test your code before deploying it on AWS, which can help to minimize test time and cost as well. Besides, you can use it for rapid prototyping of your serverless applications. [Read more…] about 3 Easy Steps to Create and Deploy AWS SAM Template

How to Create a Helm Chart in Windows for Minikube

Helm package manager is used to deploy applications in the Kubernetes cluster. By packaging your app using helm allows to deploy it with one command instead of using “kubectl create/apply” command. Another benefit of using helm is that you can easily upgrade and rollback your apps when required because helm uses version control.

 

Follow the three simple steps creating the helm chart

  1. Create a skeleton chart using the helm command.
  2. Update the values.yaml and the templates/ files to meet your deployment requirements
  3. Package the chart and upload it a helm repository.

[Read more…] about How to Create a Helm Chart in Windows for Minikube

« Previous Page
Next Page »

Primary Sidebar

Please help us sharing

Categories

  • Artificial Intelligence
  • AWS
  • Basics
  • Containers
  • Cryptocurrency
  • Cyber
  • Cyber Insurance
  • Internet Security and Safety
  • IS Audit
  • IT Security Exams
  • Law & Human Rights
  • Network Security Tips
  • Off Track
  • Social Media Governance
  • Tech Comparisons
  • Tech Stack Suitability
  • Telecom
  • Tutorial

CISSP Sample Test

Take a CISSP Sample Test

CISA Sample Test

CISA IT governance Sample test

Please Follow Us

Contact us for Ads

Go to Contact Form

Search

Footer

Copyrights

Protected by Copyscape Duplicate Content Detection Software

Securitywing.com reserves the copyrights of all of its published articles.No contents of this site is permitted to be published to anywhere else in the Internet.If any contents are found in any other websites, securitywing reserves the rights to file a DMCA complaint. But you have the right to use the link of any relevant article of this site to point from your website if you consider that it might improve the quality of your article.

Tags

antivirus audit AWS backup browser check cisco cloud computer cyber data database ddos email encryption firewall home hsrp ids internet it kubernetes linux load balancing malware network protection putty risk router security security tips server social media ssh SSL tools virus vpn vulnerability web webserver website windows wordpress