Thursday, July 9, 2020

Azure Virtual Network

Azure Virtual Network Azure Virtual Network For Beginners Securing Your Applications Using VPC Back Home Categories Online Courses Mock Interviews Webinars NEW Community Write for Us Categories Artificial Intelligence AI vs Machine Learning vs Deep LearningMachine Learning AlgorithmsArtificial Intelligence TutorialWhat is Deep LearningDeep Learning TutorialInstall TensorFlowDeep Learning with PythonBackpropagationTensorFlow TutorialConvolutional Neural Network TutorialVIEW ALL BI and Visualization What is TableauTableau TutorialTableau Interview QuestionsWhat is InformaticaInformatica Interview QuestionsPower BI TutorialPower BI Interview QuestionsOLTP vs OLAPQlikView TutorialAdvanced Excel Formulas TutorialVIEW ALL Big Data What is HadoopHadoop ArchitectureHadoop TutorialHadoop Interview QuestionsHadoop EcosystemData Science vs Big Data vs Data AnalyticsWhat is Big DataMapReduce TutorialPig TutorialSpark TutorialSpark Interview QuestionsBig Data TutorialHive TutorialVIEW ALL Blockchain Blockchain TutorialWhat is BlockchainHyperledger FabricWhat Is EthereumEthereum TutorialB lockchain ApplicationsSolidity TutorialBlockchain ProgrammingHow Blockchain WorksVIEW ALL Cloud Computing What is AWSAWS TutorialAWS CertificationAzure Interview QuestionsAzure TutorialWhat Is Cloud ComputingWhat Is SalesforceIoT TutorialSalesforce TutorialSalesforce Interview QuestionsVIEW ALL Cyber Security Cloud SecurityWhat is CryptographyNmap TutorialSQL Injection AttacksHow To Install Kali LinuxHow to become an Ethical Hacker?Footprinting in Ethical HackingNetwork Scanning for Ethical HackingARP SpoofingApplication SecurityVIEW ALL Data Science Python Pandas TutorialWhat is Machine LearningMachine Learning TutorialMachine Learning ProjectsMachine Learning Interview QuestionsWhat Is Data ScienceSAS TutorialR TutorialData Science ProjectsHow to become a data scientistData Science Interview QuestionsData Scientist SalaryVIEW ALL Data Warehousing and ETL What is Data WarehouseDimension Table in Data WarehousingData Warehousing Interview QuestionsData warehouse architectureTalend T utorialTalend ETL ToolTalend Interview QuestionsFact Table and its TypesInformatica TransformationsInformatica TutorialVIEW ALL Databases What is MySQLMySQL Data TypesSQL JoinsSQL Data TypesWhat is MongoDBMongoDB Interview QuestionsMySQL TutorialSQL Interview QuestionsSQL CommandsMySQL Interview QuestionsVIEW ALL DevOps What is DevOpsDevOps vs AgileDevOps ToolsDevOps TutorialHow To Become A DevOps EngineerDevOps Interview QuestionsWhat Is DockerDocker TutorialDocker Interview QuestionsWhat Is ChefWhat Is KubernetesKubernetes TutorialVIEW ALL Front End Web Development What is JavaScript รข€" All You Need To Know About JavaScriptJavaScript TutorialJavaScript Interview QuestionsJavaScript FrameworksAngular TutorialAngular Interview QuestionsWhat is REST API?React TutorialReact vs AngularjQuery TutorialNode TutorialReact Interview QuestionsVIEW ALL Mobile Development Android TutorialAndroid Interview QuestionsAndroid ArchitectureAndroid SQLite DatabaseProgramming Securing Your Applicati ons Using VPC Last updated on May 22,2019 9.6K Views Hemant Sharma Bookmark 2 / 3 Blog from Azure Services Become a Certified Professional Welcome to this blog on Azure Virtual Network.In this blog, you will learn how to secure your application using Azure Virtual Network. Before moving on, lets first understand, why do we need virtual networks in the first place.Why Virtual Networks?Virtual Networks act as a communication channel between resources launched in the cloud. Why Virtual? Because there are no actual routers or switches in the cloud. For example, if you launch a database server and a website server in the cloud, they would need a medium to interact. This medium of interaction is called a Virtual Network.With Virtual Network:What is an Azure Virtual Network?Azure Virtual Network(VNet) is a representation of your own network in the cloud. It is a logical isolation of theAzurecloud dedicated to your subscription.You saw some heavy words in the definition such as, logi cal isolation and representation of your own network. Forget the definition for a minute, and just remember this:If two computers have to interact with each other, they need to have permissions. You can add/remove these permissions in the virtual network settings. Once thesepermissions are added, just include these computers in this virtual network and voila! You are set.These three lines are the summary to what well be accomplishing today.You may go through this recording of Azure Virtual Network where our Azure Certification expert has explained the topics in a detailed manner with examples that will help you to understand this concept better.Azure Virtual Network Tutorial | Azure Training | Edureka LiveMoving on, a Virtual Network is further divided into components.Virtual Network ComponentsFollowing are the virtual network components:SubnetsNetwork Security GroupsWhat are Subnets?Each Virtual Network can be divided into sub parts, these sub parts are called subnets.A subnet can further be divided into:Private Subnet A network in which there is no internet access.Public Subnet A network in which there is internet access.Lets look at an example and understand how Virtual Networks are actually used:In the above image, a single virtual network has been divided into subnets and each subnet contains a server.Subnet A is a webserver and hence it is a public subnet because your website will be accessible over the internet.Subnet B is a database server and since a database should just be able to connect to the webserver, there is no need of an internet connection, hence it is a private subnet.You might be wondering, where to do all these settings, which connections to allow and which not to, right? Well, that is where the second component comes into the picture i.e the Network Security Groups.Network Security GroupsThis is where you do all your connection settings, like which ports to open, by default all are closed. Dont get scared, this blog will guide you thro ugh all the settings, and all of them are very easy to configure.But first, let me show you how the final architecture for a Virtual Network looks like:This is how Virtual Network works:First you create a virtual network. Then, in this virtual network you create subnets. You associate each subnet with the respective Virtual Machines or Cloud Instances. Attach the relevant Network Security Group to each subnet.Configure the properties in the NSGs and you are set!Lets try this with a demo now.DemoWe will deploy two servers inside a Virtual Network, a database and a website server which shall be interacting with each other. Lets see how we can architect this network.Step 1:First, we will create a network security group. Go to your Azure dashboard, and follow the steps in the image below.Step 2: Next, you will reach this screen, wherein you will be filling all the details insideyour NSG, and finally click on Create. Notice in the image at the second step, you are creating a resource gro up. Try putting all your resources inside the same group so that it becomes easier to manage.Step 3: We will now create a Virtual Network, follow the instructions in the below image to create one. Remember, in the resource group select use existing, and then select the same resource group that you created earlier.Step 4: Next, we will be creating 2 subnets, one for our website and one for our database. Follow the steps in the images below:Step 5: On the next screen, create two subnets. Following the same steps, one for database and one for webserver. Also, attach the respective network security groups.Step 6: Alright, our network is set, all we have to do now is configure the Network Security Groups and create our servers inside this virtual network. Lets create the webserver first.Step 7: On the next screen, select an OS of your choice. For our demo, we will select an Ubuntu OS. Finally click on Create.Step 8:Enter all the relevant information on the first page:Next, select the rel evant configuration. We are selecting the most basic configuration since this is a demonstration:Step 9: On the next page, you will be selecting the virtual network, in which you want your virtual machine to be deployed.Next, select the subnet:Open the network security group pane, and select the None option, since we have already attached the Network Security Group to our Virtual Network. Finally, click Ok, and your VM will start deploying. Do the same for your DB Server as well.Step 10: You can go through the videos attached in the beginning of the blog to understand how to configure a webserver and a DB server, they will guide you how to do the same. Let me show you how my Network Security Group for webserver looks like as of now:Since there is nothing added as of now in the inbound security rules, if I try to connect to my server using the IP address, I get the following error:Step 11: To add any connection property follow the below image:I have added the following connections:Fo r accessing your website you need to add HTTP and HTTPS. Finally, you would need SSH for configuring your server. I will get the following screen if I try to connect now for my webserver:And this is the SSH window:Step 12: This is how my database Network Security Group looks like:For the detailed demo, you can refer the videos in the beginning of the blog. Rest assured, this is the way you will configure your virtual network.Want to learn more? We at edureka!have come up with a curriculum which covers exactly what you would need to crack the Microsoft Exams!You can have a look at the course details forMicrosoft Azuretraining here.Furthermore, this Azure Virtual Network blog series will be updated frequently as we expand our blog section on Azure services, so stay tuned!Got a question for us? Please mention it in the comments section of this Azure Virtual Network Blog and we will get back to you.Recommended videos for you Architecting in Cloud-III Watch Now Cloud Computing with AWS II Watch Now Building Scalable Application on Cloud Watch Now What Is AWS Getting Started With AWS Watch Now Microsoft Azure Tutorial Step-By-Step Tutorial In Azure Watch Now AWS Tutorial A Complete Tutorial On Amazon Web Services Watch Now AWS Certifications All You Need To Know Watch Now Power The Hadoop Cluster With AWS Cloud Watch Now Efficient Disaster Recovery with Cloud Computing Watch Now AWS Vs Azure Cloud Platform Comparison Watch Now What Is Cloud Computing? A Beginners Guide To Understanding Cloud Watch Now AWS vs Google Cloud Cloud Platform Compared Watch Now Architecting in Cloud-II Watch NowRecommended blogs for you How To Secure Web Applications With AWS WAF? Read Article Top Microservices Tools You Must Know In 2019 Read Article Google Cloud vs AWS : Which Cloud Service Provider to Choose? Read Article Top 10 Reasons To Learn AWS Read Article Running Docker In Production Using Amazon ECS Read Article Everything You Need To Know About Microservices Design Patt erns Read Article Introduction to Amazon CloudFormation Read Article Cloud Engineer : Roles Responsibilities And All You Need To Know Read Article AWS Console: Deep Dive Into AWS Management Interface Read Article Top 50 Azure Interview Questions You Must Prepare In 2020 Read Article Microservice Architecture Learn, Build and Deploy Microservices Read Article Azure Virtual Network For Beginners Securing Your Applications Using VPC Read Article Introduction to Amazon EC2 Read Article What is Azure? An Introduction To Microsoft Azure Cloud Read Article What is AWS CLI? Know its Applications and Benefits Read Article AWS Certification: Your Key To Career Opportunities In Amazon Web Services Read Article Everything you need to know about Salesforce Certification Read Article Top 50 ServiceNow Interview Questions You Must Prepare In 2020 Read Article What is Google Cloud Platform (GCP)? Introduction to GCP Services GCP Account Read Article What is IoT (Internet of Things)? IoT Archit ecture Explained Read Article Comments 0 Comments Trending Courses in Cloud Computing Microsoft Certified Expert: Azure Solutions A ...6k Enrolled LearnersWeekendLive Class Reviews 5 (2250)

No comments:

Post a Comment

Note: Only a member of this blog may post a comment.