Connecting to your Linux instance
Establish a secure shell (SSH) connection to your AWS EC2 instance, allowing remote access to the server’s command-line interface for configuration, and management.
1. Using SSH to connect to your instance
Following steps to connect the VM using the ssh
Step 1: Let us SSH onto the Amazon Linux instance where Jenkins is being installed to do some things first. Open the terminal and type:
ssh -i <your_key>.pem ec2-user@<your_amazon_linux_instance_ip>
Step 2: Type the command for Root access
sudo su -
Install Jenkins on Amazon EC2: Step-by-Step GuidePrerequisites
Jenkins configuration in the EC2 instance on the Amazon Web Service Platform includes all steps in detail, which helps the user easily set up your Jenkins tools on the EC2 instance for continuous integration and continuous development. Nowadays, Jenkins has become a more popular tool as compared to others, and it is open source. It is free, and it is lightweight. Jenkins using the 8080 port. Jenkins code is available for everyone to contribute and add more features to this tool. It has a strong community and it has a number of plugins to do any type of work related to continuous integration and continuous development.
Prerequisites
- We need to set up an Amazon account.
- Amazon Linux instance.
Contact Us