Youtube With Subtitle

  • Jan 23
    Deploy a VM to Azure using GitHub Actions

    hi everybody my name is Sarah lien and I McCloud advocate Microsoft I’ve been in the IT industry for a number of years now and I’m formally and that IT Pro or infrastructure engineer camp now I’m used to deploying servers physically so getting my hands dirty and actually install and service interact but over the years I’ve transitioned from doing that and to actually deploying servers via code and recently I’ve been looking at how I can automate deployment of virtual machines with an azure using github actions now I get hub actions is something that was launched at the end of 2019 and it was designed to help automate workflows in the same place that you store your cord and you collaborate with others so when the short video I’m going to take you through the code and the steps that I took in order to use github actions to deploy my agile virtual machine so here we are and my github repository and we have several files and folders within it we have the dog github slash workflows folder and we have the IAC or infrastructure as code slash is a CLI folder now and say these folders are several files and the workflows folder we have a file called what fluid dot yml the workflow fail is actually where we’d instruct the github action to carry out the steps for us and my easy CLI folder I have a file called VM creation dot ps1 and that’s a PowerShell script that runs the creation for the virtual machine and the associated resources at Rome de to be created with an azure see here we are in Visual Studio code on my laptop now I’ve cloned the github repo down onto my laptop so that I can work with it and the cord and in facial studio chord and you can see I have the same fails and the same folders that we we spoke about when we’re on and they get hub website so we take the VM creation drop PS one fail and have a look at it we can dissect it and understand it freely at the start I’ve declared a bunch of parameters and you can see these are things like service principle as your subscription name admin logon admin password and all of these parameters are mandatory all of the warmest parameters need to be there in order for the script to fully run and to be fully successful in its run when we scroll down we can see that there’s four different sections to their script there’s a section called logon as a section called subscription we’ve got creating resource group and we’ve also got create virtual machine so if we dive into each of those four sections and have a look at what they do the login section actually logs I sent or as your subscription and we’re using an azure service principle to do that and we’re doing that because it’s based practice we don’t want to be using our own username and password credentials here know the service principle has the right permissions within our Azure subscription to be able to deploy the necessary resource grip and resources the next section of the cord is pecking the Azure subscription we want to deploy these resources and because they flake me you have multiple subscriptions and access to those you want to make sure you’re actually deploying the rules while she’s in the race subscription the thaad section creates a resource group and it creates it based on the name parameter and the region parameter and we do this because the resource group has to exist before we actually create any new sources within it and the last section I should imagine is that actually the section that creates the virtual machine and it creates it within that resource group that we created and the step above now I’m creating a very simple as a virtual machine here I’m creating it based on default Windows image so using the Windows 2016 data center operating system image that has both built in to Asha and I’m just passing in the server name and the username and password for it as well you can obviously deploy virtual machines and a much more complex way but in terms of being able to work through github actions and learn from it we’re keeping it very simple in terms of what we’re deploying resource wise now let’s switch over and look at our workflow fail and what it actually does within the get up actions again within the script we have different sections so let’s break them all down and look at them individually and make sure we understand what it’s doing as it goes through so the first section is just the metadata but that’s where we call this workflow something the next section is declaring environment variables and we’re just declaring the output path that’s just really the working space the working directly for the skip hop action the next section is the trigger section and we’ve specified that when we push code to a github repo it triggers the github action and it works through that’s work for now you can change this you can do it to a pool you can do it to commit those various different triggers that you can use push again is just keeping it very basic that whenever we change the cord with a nugget hug brief oh that’s action triggers now the next section is called jobs and it breaks up into a couple a section itself so the first section is where we give this job a name so we’ve just called it deploy evm and we’ve said that we want to run this workflow on the windows latest platform now that’s basically just saying that we want a Windows environment and we execute all of our code within that Windows environment you could select Linux or you could even select microwaves for it as we have a per shell script windows makes the more sense for this example we then start to clear the steps that we actually want this workflow to catio so my first step is to check out the code from that repository and that’s basically taking the code from github and then putting into that workspace or working directory that we talked about earlier now my next section is to change my working directory so it’s it’s specifying we need to go and look for the PowerShell script and we’re just changing the working directory so we’re saying we’re in the default workspace but look for a folder called IEC and then look for a folder called easy CLI and that’s where our pearl shell script will be once it’s changed it’s working directory we want the workflow to actually run our script and we can see we’ve got different sections again and there step now we call it provision virtual machine and Azure then we declare some environment variables you can see here I’m declaring my resource name my resource group region that’ll be deployed in the virtual machine name and the admin login account name and then we say run Despero show command and you can see it’s quite a long per shell command that is actually running and it’s basically run PowerShell and run that PowerShell script that VM creation script that we looked at earlier and passing these fallen parameters the service principle the service principle Secret Service principle 1090 he has a subscription name the resource group name resource group name region the server name the admin logon an admin password now you’ll have noticed I only declared a four of my variables or parameters within a small section and plain text the rest are being pulled from somewhere called secrets and this is because those bits of information are really sensitive and I don’t want to be sharing them with the general public I’m happy to share my resource group name and my admin login name and those are just fairly innocuous bits of data but there are some things like my service principal ID Service principal secret I don’t want to be using and sharing with the public so we store them and the github actions secret repository if we switch over to the github website we can have a look at that so with then I’ll get probably purple we go into settings and then we click on secrets and we can see here that we have a bunch of secrets are very stored and they’re just the ones that we saw in the script so the admin password the service principal ID and these are all stored in an encrypted manner and that way that the github actions can actually pull out the secret information but no one else can see this data so when someone Forks our github repository they aren’t getting the secrets as with them so they’d have to clear their own secrets and say oh that one secret so if we switch back to our code if we want to trigger let’s get hub action and this workflow so I’m going to do is change the resource group region that I want there’s a virtual machine to be deployed in and I’m going to change it to the U key so I then use Visual Studio code to commit that change to my cord and then I push it up into the repository now if we switch back to get home we can go into the actions tab and we can start to see that workflow working and you can see it’s running here and it runs up it sets up the job it’s checked out the repo it’s looked for the PSone fail and I’ve sped this up a bit but eventually provisions the virtual machine and you can see the running times down the right-hand side so it took two minutes to create that virtual machine so if we switch over to her portal we can actually see that resource we can see that resource group we can see it being deployed to the UK so and we can see the virtual machine and the relative technologies around it being deployed as well and there you have it and a drive virtual machine deploy from cord that stored and github and then github actions actually implement in that cord now the way I’ve deployed my as a virtual machine isn’t the way I would recommend that you deploy virtual machines in a production environment but from my getting started point of view it’s a great use case example to be using now I’ll post a link in the description box to my code repository so you can give it a go yourself and please do try it out please though reach out as well to share your stories about github actions and how you’re using it within your environment to deploy your mpus torture thank you for watching you .

  • Jan 22
    Фильтр Zomei ND2-ND400 для смартфона. Обзор и тестирование!)

    good afternoon everyone today we have another unpacking this time came nd filter Zomei variable type from ND2 to ND400 from 1 f-stop to 8 f-stop came in such a package besides the main mail package that came directly from china filter supplied directly with a clothespin its diameter 37 millimeters of the filter, as understood by clothespins, it is designed to mainly for smartphones in order to darken certain areas or receive corresponding type image milk water thereby increasing exposure getting the appropriate effects return part of the money for purchases in aliexpress with letishops cashback service it’s real money that can be withdrawn to credit card or top up balance phone be in trend buy with cashback from letishops link in description let’s see what is inside this package first here is such a filter as we see its name here specifically for smartphones nd filter variable type from 2 to 400 here the maximum value is shown and the minimum value here is appropriate risk indicating at the moment which you apply from options from minimum to maximum negative moment in that there is no fixation at the minimum and at the maximum and this is fraught with the fact that this filter suffer from the so-called “X” shaped the image is just here “X” shaped image appears directly beyond these limits of minimum and maximum by this kind of fact that there is no fixing you must ensure that you are not lost settings and if you look we see the dimming here it is maximum and now we have already left the minimum and let’s see directly how this filter behaves on a smartphone since we see everything quite well work thank you all for your attention to whom it was useful to all successful shopping unpacking and until the next video .

  • Jan 22
    Развитие ОС Windows 1985 - 2020

    Windows 1.0, Windows 2.0, Windows 3.1, Windows 95, Windows 98, Windows XP, Windows Vista, Windows 7, Windows 8, Windows 8.1, Windows 10. .

  • Jan 22
    Folsom Dam Raise Project groundbreaking ceremony

    Three, two, one I’m pleased to welcome you all here today as we celebrate the kickoff of construction on the Folsom Dam Raise Project, the effort to raise the dams and dikes surrounding the lake, further increasing its capacity and reducing flood risk for all of those that make our home in the Sacramento area. I want you to know how important that this is for the entire region.

  • Jan 22
    DeFINE Annual Networking Event 2019

    the fine projects start from the concept that there is an ongoing digital transformation which is touching the fashion sector very heavily compared to the past this digital transformation is allowing a new system of startups and innovators to propose new ideas starting from their digital culture to disrupt the the field so what we already did there was starting to build up a network and that is collecting and mapping all the actors that are characterizing these possible ecosystems so on one side the SMEs and traditional fashion industries on the other side the startups innovators but also the actors that can enable this ecosystem to really exist and produce value for Europe which are incubators accelerators and very important the finance years that could support this industry to grow and to compete with big international players a mentoring program will provide a specific customized the support to 25 new ideas so we already selected eleven companies so startups that are developing innovative concepts within the fashion tag I’m Florian I’m the CEO of floor studio which is a platform for product development that we make specifically for the fashion industry and our goal is to supersede legacy technologies such as spreadsheets and emails for communication and we’ve been selected for the define mentorship in September and we’re really excited to be part of this and today was the first event we took part in and it’s been really insightful especially Giuliana’s talk helped understand the breadth of information that is needed if you want to attract investment my name is Simon I’m from Sweden where I represent the Swedish incubator where I focus on business development for fashion and textile tech startups a few key learnings with fashion tech entrepreneurs one is that they come from a sustainable or a circular perspective trying to deal with an industry in change but also that they are not used to like attracting investment so they tend to think shortly which is where I help them to think in a longer time span .

  • Jan 22
    Flush DNS Cache in Windows 10 via Command Prompt (Tutorial)

    From time to time it might be necessary to flush your DNS cache in windows. An example is a dynamic dns domain which may change the IP address on a regular base. Once triggered Windows will remember the IP address of a domain for a certain time. In this video I will show you how to flush the dns resolver cache. You will find all commands in the video description.

  • Jan 22
    VFD Family Overview - WEG CFW100 vs CFW300 Variable Frequency Drive Best VFD Value

    The WEG CFW100 variable frequency drives are basically the same as the CFW300 drives except they are in a much smaller package. These drives have the same input and output power specs but look at the difference in size! OK, so what’s the difference? Well, if I go to the webstore and select motion control, variable frequency drives, micro drives and let’s scroll down to the quarter horsepower drives.

  • Jan 22
    Windows 10 open Device Manager in 3 different ways for driver maintenance

    Opening the device manager is essential to install or uninstall drivers in windows 10. The windows taskbar search is getting more and more confusing; therefore, I like to show you three different methods to open up the device manager. The first one is to right click on the windows logo at the bottom left corner. The context menu gives you the option to start the device manager. The second one is to call the device manager by its application name.

  • Jan 22
    JS engine V8 v.8, Angular 9, Performance: the latest News of the FrontEnd development

    Hi! Let’s talk today about JS engine V8 v.8, Angular 9, and Performance. If this is your first time here and you want to learn Frontend and JavaScript, start right now by subscribing, and don’t forget to turn on the subtitles. [Music playing] In December V8 team released JS engine version 8, which contains bug fixes and performance improvements. V8 introduced also new JavaScript features: optional chaining, “nullish” coalescing.

  • Jan 22
    Russia weapon to iran _ 3 Russian advanced weapons to face america

    hello guys, welcome to mister ochim channel. to face America, Iran deserves to get these 3 Russian weapons okay guys before we continue this interesting discussion. please subscribe first mister ochim channel. and activate the notification bell so you don’t miss useful information in the next video Russia sent several warplanes and bombers in operations to fight ISIS in Syria, namely Su-35S, Su-30SM, Su-34, Su-24M, and Su-25. The success of Su-34 in Syria increased the interest of several countries in the Middle East , Africa, Asia and Latin America, to buy this front-line bomber.

← Newer Posts Older Posts →

feedback@inadram.com