Posts

Jfrog Xray Setup using salt stack

 Recently I have started working to automate Xray JAS [ Jfrog Advance Security ] using salt stack. As per Artifactory documentation, to setup XRAY jas three VM required  One for K3S master node other two servers for workworker node  JAS documentation recommending to use Ansible , But my task is to convert that Ansible part is Salt Stack. ..................Work in progress, I will write mode details once product will deployed in the production.  I was able to spin K3S cluster using SaltStack. I had created deb package of k3s binary.

AWS EC2 commands

                                                                            EC2 Commands  Note Correct VPC ID, AMI ID, Security Group & SubnetId then run below command to spin the instance vpc-503a3e39 subnet-05f9e9373fb8524d4 sg-c80694a0 ami-08e0ca9924195beba (t2.micro) Free Tier AMI code   aws ec2 run-instances --image-id ami-08e0ca9924195beba --count 1 --instance-type t2.micro --key-name SharadKeyPair --security-group-ids  sg-c80694a0 --subnet-id subnet-05f9e9373fb8524d4 aws ec2 describe-instances \ --filters Name=instance-type,Values=t2.micro,t3.micro Name=availability-zone,Values=us-east-2c AWS filter using state running  aws ec2 describe-instances --filters Name=instance-state-name,Values=running AWS filter using state running  aws ec2 describe-instances --...

Ec2 instance using Ansible

Image
                                                                                                                                                                             I am going to run ec2 instance using ansible. We have to setup ansible so that it can call aws module in playbook. There are basic requirement to setup it:-- Python > 2.6 Boto While writing ansible playbook in YAML, Indentation is important part so to resolve indentation, I have installed vim and created file having name ec2run.yaml. Vim detects indentation automatically.  AMAZON.AW...

Starting AWS EC2 Using aws command Line

Image
EC2 instance configuration using aws command line  OS :-- Ubuntu 20.04.2 LTS Required package : aws CLI v2 Step 1: -- Downloading & Installing  package