How to Edit an AWS EC2 Instance Security Group Step By Step Guide | Tutorial |

Опубликовано: 24 Январь 2025
на канале: Devops Engr. Lewis
251
4

#apachetomcat #devops2engineer #whatistomcat

Control access to your AWS EC2 instances with precision!

In this tutorial, we'll guide you through the process of editing security groups in AWS, a crucial step in securing your instances from unauthorized access.

Key Topics Covered:
How to edit security groups on a server

Step 1: Search up aws.amazon.com

Step 2: Click on Search, and search EC2

Step 3: Click on EC2

Step 4: Click on Instances from the menu on the left

Step 5: Select your instance

Step 6: Click on Security

Step 7: Scroll down until you see Security groups

Step 8: Click on the Security group id

Step 9: Scroll down and click "Edit inbound rules"

Step 10: If you want to delete a rule, click Delete next to the rule, If you want to add a port click "Add Rule"

Step 11: Enter the port number in Port range

Step 12: Select "Anywhere-IPv4" under source

Step 13: Once done with the changes scroll down and click "Save rules"

Note: Once you have added a new port you need to enter that same port in server.xml if you want to connect to that port

Step 14: Run the instance

Step 15: Copy the public ip address of the server

Step 16: Open MobaXTerm

Step 17: Click on "Sessions"

Step 18: Select SSH

Step 19: Paste the Public Ip in the Remote Host

Step 20: Click on specify username

Step 21: Enter your username (Prefferably ec2-user)

Step 22: Click "Advanced SSH settings"

Step 23: Select "Use private key"

Step 24: Click on the documents icon & Select your private key (.pem)

Step 25: Click "Ok" & "Accept"

Step 26: Cd in to opt directory, Tomcat, conf

Step 27: Vi into server.xml

Step 28: On line 71 "Connector port="8080" protocol="HTTP/1.1", change the port number to the desired number

Step 29: Click the "esc" key on the keyboard and Click the Shift key + ZZ

Step 30: Type "curl ipaddress:portNumber" to verify if its working

Whether you're a seasoned DevOps engineer or just starting your journey, this video will provide you with the essential knowledge to confidently work with Linux commands and streamline your workflow.

Don't miss this valuable resource!

0:00 - 0:12 Intro
0:13 - 0:49 How to create an AWS Account
0:50 - 2:17 How to change the ports on your AWS EC2 Instance Security Group
2:18 - 3:13 How to Start your Tomcat server and connect to your Tomcat server
3:14 - 4:53 How to change the ports on your server
4:54 - 5:18 Outro

#DevOps #Tomcat #ApacheTomcat #TomcatManager #JavaDeployment #CICD #DevOpsTools #DevOpsEngineer #Automation #SRE #Linux #FintechDevOps #BuildAndRelease #SiteReliabilityEngineering #JavaAppDeployment #CloudEngineering #ContinuousIntegration #ContinuousDelivery #Microservices #TomcatCommands #DevOps #Tutorial #GitBasics #CommandLine #ITTraining #TechTips #LearnGit #DevOpsEngineer #ITPro #SoftwareDevelopment #TechTok, #TechTips, #TechLife, #TechAddict, #TechTalk, #TechNews, #TomcatLove, #TomcatLife, #MavenCommunity, #TomcatGeek, #TomcatTips, #TomcatTutorial, #TomcatHack, #LsCommand, #PwdCommand, #CdCommand, #MkdirCommand, #TouchCommand, #RmCommand, #CpCommand, #MvCommand, #ChmodCommand, #ChownCommand, #MavenCommandChallenge, #TomcatFilesAndDirectories, #MasterTomcatCommands, #TomcatTipsAndTricks, #TomcatHacking #TomcatCommands, #DevOps, #Tutorial, #TomcatBasics, #CommandLine, #ITTraining, #TechTips, #LearnTomcat, #DevOpsEngineer, #ITPro, #SoftwareDevelopment, #TomcatTutorial, #LinuxTips, #LinuxGeek, #TomcatCommunity, #LinuxOpenSource, #ITHelp, #ITSupport, #SystemAdmin, #ServerManagement, #CloudComputing, #Automation, #ITCareer, #TechCareer, #DigitalTransformation, #ITEducation, #OnlineLearning, #Programming, #Coding, #Scripting, #OpenSource, #FreeSoftware, #TechBlog, #TechNews, #TechUpdates, #TechContent, #TechInfluencer, #TechEntrepreneur, #Startup, #Innovation, #TechnologyTrends, #FutureTech, #TechTok, #TechLife, #TechAddict, #TechGuru, #TechTalk, #LinuxLove, #LinuxLife, #LinuxHack, #LsCommand, #PwdCommand, #CdCommand, #MkdirCommand, #TouchCommand, #RmCommand, #CpCommand, #MvCommand, #ChmodCommand, #ChownCommand, #LinuxCommandChallenge, #LinuxFilesAndDirectories, #MasterLinuxCommands, #whatisTomcat? #LinuxTipsAndTricks, #LinuxHacking


На этой странице сайта вы можете посмотреть видео онлайн How to Edit an AWS EC2 Instance Security Group Step By Step Guide | Tutorial | длительностью часов минут секунд в хорошем качестве, которое загрузил пользователь Devops Engr. Lewis 24 Январь 2025, поделитесь ссылкой с друзьями и знакомыми, на youtube это видео уже посмотрели 251 раз и оно понравилось 4 зрителям. Приятного просмотра!