Sign in

Cloud Architect | AWS, GCP, Azure, Python, Kubernetes, Terraform, Ansible

Steps

  • Install python
brew install python
ls -l /usr/local/bin/python*
ln -s -f /usr/local/bin/python3.9 /usr/local/bin/python
  • Install aws-cli
curl “https://awscli.amazonaws.com/AWSCLIV2.pkg" -o “AWSCLIV2.pkg”
sudo installer -pkg AWSCLIV2.pkg -target /
which aws
aws --version
  • Install and configure git.
brew install git
git --version
git config --global user.name “<your username>”
git config --global user.email “<your mail id>”
git config --global…

Steps

  1. You need to update the requirements.txt to specify the Python modules that are required to deploy the Dataflow jobs using virtualenv in Cloud Shell.
  2. Paste the following list of modules into requirements.txt.
  • This list ensures that the correct Python modules will be installed to allow you to deploy the Python…

Ports:

TCP: 53, 135, 389, 445 ,464, 636, 3268, 3269, 49152–65535
UDP: 53, 88, 135, 389, 445, 464, 636, 3268, 3269, 123, 137, 138

Purpose of the ports:

  • UDP Port 88 for Kerberos authentication
  • UDP and TCP Port 135 for domain controllers-to-domain controller and client to domain controller operations.
  • TCP Port 139 and UDP 138…

Pipelining

  • Http pipelining is a technique in which multiple http requests are sent on a single TCP connection without waiting for the corresponding responses.
  • Http 1.1 supports pipelining. Only limitation was that server has to maintain the response order as requested by the client. If the client made 3 requests 1…


Steps

  1. You can configure test Events, for example — Viewer-Request and Origin-Response that allows you to do unit testing in AWS console.

2. You can dump the entire Event to CloudWatch log by adding the following line in your function→ convert event to json string with 4 space indentation.

console.log(‘Received event:’…


Red Hat Enterprise Linux (RHEL) / Amazon Linux

  1. Download the latest Qualys Cloud Agent installer from below.
https://qualysguard.qualys.com/am/help/sensors/cloud_agent.htm

2. Perform installation with the following command:

sudo rpm -ivh qualys-cloud-agent.x86_64.rpm

3. Activate Qualys Cloud Agent with the following command:

sudo /usr/local/qualys/cloud-agent/bin/qualys-cloud-agent.sh ActivationId=1032h37-dd20-4fde-93c8-2q3dwedae34 
CustomerId=aa9845nb0-6643-5564-8045-1234wsDDAS

4. Update Qualys Proxy setting and restart the service.

echo "qualys_https_proxy=\"http://<proxy-url>:1080\"" > /etc/sysconfig/qualys-cloud-agent…

Steps

  1. Install Docker Desktop for Windows.
https://hub.docker.com/editions/community/docker-ce-desktop-windows

2. Install WSL2.

https://docs.microsoft.com/en-us/windows/wsl/install-win10

3. Make sure awscli is up to date.

https://docs.aws.amazon.com/cli/latest/userguide/install-cliv2-windows.html

4. Run the following command to login to the ECR repo.

aws ecr get-login-password --region <aws-region> | docker login --username AWS --password-stdin <ecr-repo-name>

Or if you are using an older awscli…

Arun Kumar

Get the Medium app

A button that says 'Download on the App Store', and if clicked it will lead you to the iOS App store
A button that says 'Get it on, Google Play', and if clicked it will lead you to the Google Play store