Posts

Fix EC2 start and stop user policy

 {     "Version": "2012-10-17",     "Statement": [         {             "Sid": "VisualEditor0",             "Effect": "Allow",             "Action": "ec2:Describe*",             "Resource": "*"         },         {             "Sid": "VisualEditor1",             "Effect": "Allow",             "Action": [                 "ec2:RebootInstances",                 "ec2:StartInstances",                 "ec2:StopInstances"             ],             "Resource": [                 "arn:...

Create a single IAM user to access only specific S3 bucket

 Create a single IAM user to access only specific S3 bucket {   "Version": "2012-10-17",   "Statement": [     {       "Sid": "Stmt1528735049406",       "Action": [         "s3:DeleteObject",         "s3:GetObject",         "s3:HeadBucket",         "s3:ListBucket",         "s3:ListObjects",         "s3:PutObject"       ],       "Effect": "Allow",       "Resource": "arn:aws:s3:::YOURBUCKETNAME"     }   ] } {     "Version": "2012-10-17",     "Statement": [         {             "Sid": "BucketOperations",             "Effect": "Allow",             "Action": "s3:ListBucket*",             "Resource": "arn...

AWS API Gateway private integration with HTTP API and a VPC Link

 AWS API Gateway private integration with HTTP API and a VPC Link A. Create the ALB:-  1.Create it as an INTERNAL facing ALB. We don’t want to expose it to the internet. 2.There is only one listener on port 80 (This is the default). 3.Security Group that is created/assigned to the ALB can be fairly open for now (accept HTTP on TCP port 80 from anywhere). 4.In Step 4 of the wizard, the Target Group should have a target type as INSTANCE. Assuming that your EC2 is handling requests on port 80,  you can keep the rest of the parameters as default.  5 you can register your EC2 instance. allow security group 80 port. B. Create a VPC Link:- 1.From the EC2 console, add Security Group for the VPC Link. this can be pretty open for now, with HTTP traffic on port 80 allowed from anywhere. 2.While you are there, alter the ALB SG to accept traffic only from the VPC Link SG, only on port 80. 3.From the API Gateway console, create a new VPC Link for HTTP APIs. Choose the subnets in b...

AWS S3 Some Backet Full Permission and read Write

 {     "Version": "2012-10-17",     "Statement": [         {             "Effect": "Allow",             "Action": [                 "s3:GetBucketLocation",                 "s3:ListAllMyBuckets"             ],             "Resource": "arn:aws:s3:::*"         },         {             "Effect": "Allow",             "Action": "s3:*",             "Resource": [                 "arn:aws:s3:::my-data-s3",                 "arn:aws:s3:::my-data-s3-1",                 "arn:aws:s3:::my-data-s3-2",     ...

How to Install GitLab enterprise edition on Ubuntu Server

  Gitalb Installion:- 1. Install and configure the necessary dependencies sudo apt-get update sudo apt-get install -y curl openssh-server ca-certificates tzdata   Next, install Postfix to send notification emails. If you want to use another solution to send emails please skip this step and configure an external SMTP server after GitLab has been installed.   sudo apt-get install -y postfix   During Postfix installation a configuration screen may appear. Select 'Internet Site' and press enter. Use your server's external DNS for 'mail name' and press enter. If additional screens appear, continue to press enter to accept the defaults. 2. Add the GitLab package repository and install the package Add the GitLab package repository.   curl https://packages.gitlab.com/install/repositories/gitlab/gitlab-ee/script.deb.sh | sudo bash   Next, install the GitLab package. Make sure you have correctly set up your DNS, and change https://gitlab...

How to install nuke in windows 10 and windows 11,Installing Nuke on Windows, Install Nuke on Windows

  SINGLE MACHINE 1.Install Your Foundry Product 2.Install FLT7 (If you already have our rlm server working and running , jump to step 8)  3.Stop Foundry License Server 4.Copy the cracked rlm.foundry.exe over the original one (C:\Program Files\The Foundry\LicensingTools7.1\bin\RLM\rlm.foundry.exe)  5.Edit xf_foundry.lic replacing desktop 1234567890123456 (host name, Mac-Address)  You can get those informations using rlmutil.exe , a simple dos window ipconfig/all   or you can start Foundry License Utility and choose Diagnostics and Run Diagnostics, you will find your hostname, your mac address (System ID)     PORT is by default 5053 if you dont put any (dont forget to delete the word PORT then if you dont want to specify one) . If you need more infos read RLM manual. 6.Copy the xf_foundry.lic to C:\ProgramData\The Foundry\RLM or C:\Program Files\The Foundry\LicensingTools7.1\bin\RLM\ 7.Restart RLM Server you can do that from services or just with Fo...

How to install Docker on Ubuntu Desktop, Ubuntu Server & AWS Ubuntu Server https://youtu.be/EiGZlkqPuN0

 How to install Docker in Ubuntu Desktop, Ubuntu Server & AWS Ubuntu Server... 1. sudo apt update 2. sudo apt install apt-transport-https ca-certificates curl software-properties-common 3. curl -fsSL https://download.docker.com/linux/ubuntu/gpg | sudo apt-key add - 4. sudo add-apt-repository "deb [arch=amd64] https://download.docker.com/linux/ubuntu bionic stable" 5. sudo apt update 6. apt-cache policy docker-ce 7. sudo apt install docker-ce 8. sudo systemctl status docker 9. docker run hello-world 10. docker search ubuntu 11. docker pull ubuntu 12. docker images 13. docker run -it ubuntu 14. apt update 15. apt install nodejs 16. node -v 17. exit 18. docker ps 19. docker ps -a 20. docker ps -l Thanks For Watching ..... https://youtu.be/EiGZlkqPuN0