Cyber defence evasion refers to a set of tactics and techniques that attackers use to avoid detection and bypass security measures in order to maintain access to a target network or system. The goal of evasion is to prevent security tools such as firewalls, intrusion detection systems (IDS), antivirus software, and security information and event management (SIEM) … [Read more...] about Top 10 Actions to Prevent Cyber Defence Evasion on AWS Cloud
AWS
What is the Difference Between AWS SDK and Boto3
The AWS SDK (Software Development Kit) and Boto3 are closely related but refer to slightly different concepts in the context of Amazon Web Services (AWS): AWS SDK: Definition: The AWS SDK is a collection of libraries, tools, and documentation that developers can use to integrate AWS services into their applications. AWS provides SDKs for various programming … [Read more...] about What is the Difference Between AWS SDK and Boto3
Top 10 Reasons Why AWS ECS is Better than Kubernetes
Both Kubernetes and ECS are now capable of handling complex containerized workloads, and there are times when you might consider comparing them based on specific use cases and organizational needs.Here are some reasons why one might prefer AWS ECS (Elastic Container Service) over Kubernetes: Integration with AWS Ecosystem: ECS is deeply integrated with other AWS services … [Read more...] about Top 10 Reasons Why AWS ECS is Better than Kubernetes
How to Upgrade AWS CDK to Minor version
AWS CDK uses sematic versioning system to manage the CDK package release. For example, if your existing CDK stack has a version x.y.z then y represents the minor version number, which you want to upgrade to the latest. To update a minor version, use the following procedures given below: Update the CDK CLI version npm install -g aws-cdk@latest Delete the … [Read more...] about How to Upgrade AWS CDK to Minor version
How to Enable Backend Access to AWS Fargate Container Using ECS EXEC
Unlike AWS ECS EC2 launch type, Fargate does not allow backend access. To enable backend access, you have to update your task definition and the task role. This post will help you enable docker container access of a fargate task. The only requirement before enabling ecs exec on fargate is that the platform version need to be 1.4. … [Read more...] about How to Enable Backend Access to AWS Fargate Container Using ECS EXEC
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 … [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 Take a note of the … [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 … [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. install eskctl tool … [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. … [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 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 … [Read more...] about 3 Easy Steps to Create and Deploy AWS SAM Template
How to Query AWS CloudTrail Logs with Athena
AWS CloudTrail logs all the API calls made to the AWS account. You do not require any tool to view the last 90 days of events. But if you want to view the logs older than three months you have to setup a S3 bucket to store it and then you can analyse the logs. This post aims to show you how you can use AWS Athena to view AWS logs stored in S3 bucket. … [Read more...] about How to Query AWS CloudTrail Logs with Athena
How to Install Boto3 for AWS SDK using Anaconda in Windows
Boto3 allows the python developers to create and manage AWS services such as EC2. You may need to install boto3 in your windows machine for AWS cloud based services development and automation. The easiest way to configure boto on your machine is to install anacond at first. You can download anaconda at https://www.anaconda.com/distribution/. … [Read more...] about How to Install Boto3 for AWS SDK using Anaconda in Windows