Fundamentals of Windows containers and Windows container-based web apps on Azure App – BRK2045

Fundamentals of Windows containers and Windows container-based web apps on Azure App – BRK2045


>>I WILL
STARTON TIME.SO WE’LL GET STARTED.THANK YOU FOR JOINING ME AFTER LUNCH.I HOPE YOUARE FUELLED UP FOR THE REST OF THE AFTERNOON. AND ANYTHING ELITESYOU HAVE — ELSE YOU HAVE PLANNED.>>MY NAME IS ANDREW WESTGARTH AND I’MSENIOR PROGRAM MANAGER ON AZURE APP SERVICE.I’VE BEEN WITH THE TEAM FOR ABOUT FOUR YEARS.PREVIOUS TO THAT I WAS– EIGHT YEARS AND WORKED ENTERPRISE INTHE UK.SO I’VE BEEN WORKING THE WEB HOSTING SPHERE FOR SOME TIME.PRINCIPALLY I TEND TO WORKON OUR ON-PREMISES. NOW I’M LOOK AT WINDOWS CONTAINERS ON AZURE APP SERVICE BASEDON WORK BRINGING A PREVIEW
OF AZURE FUNCTIONS ON-PREMLAST YEAR.AZURE APP SERVICES OUR LARGE SCALE HOSTING PLATFORM WITHIN AZURE.ITOFFICER HIGH — OFFERS HIGH PRODUCTIVITY TO DEVELOPERS. OUR GOAL TOACCELERATOR DEVELOPMENT FEATURESINSIDE — AND AS A DEVELOPMENT AND ENGINEERING TEAM ADDING VALUE TOYOUR CUSTOMERS ANDBUSINESS WITH EACH RELEASE.WEDO THAT ENABLTHE EXISTING
LANGUAGES.CICD TOOLING. PIPELINES THAT YOU’RE FAMILIAR WITH. AND WEAVE GOTA — WE’VE GOT A GREAT RAFT OF DIAGNOSTICCAPABILITIES.SOME WILL BE DRILLED IN TO THE SESSION AT 4:00BY MY COLLEAGUEJENNIFER LEA. IF THAT IS INTERESTING I RECOMMEND THAT SESSION ASA FOLLOWON.AZURE APP SERVICES IS FULLY MANAGED SERVICE AS A SERVICE OFFERING.WE ARE INTO OUR FIFTHOR SIXTH YEAR.ANDWE MANAGE THE UNDERLYING INFRASTRUCTURE.WE MAKE SURE IT’S PATCHED,UP,RUNNING AND EVERYTHING ELSE UNDERNEATH IS TAKEN CARE OF.WE’RE ENTERPRISE GRADE. WE METED STRINGENT REQUIREMENTS. WE GO THROUGH THAT ALONG WITH THE AZURESERVICES ON A REGULAR BASIS. AND THEREFORETHAT TAKES OVER ONE OF THEHEADACHES TO GET YOUR
HOSTING ENVIRONMENTS– WEARE ALREADY THERE. TO DRILL IN TO A COUPLEKEY PILLARS, PILLARS.HIGH PRODUCTIVE WE SUPPORT EVERYTHINGFROM .NET,WE SUPPORTDOCA CONTAINERSFOR SOME TIME.WE SUPPORT, WE MADE BIG ANNOUNCEMENTSAROUND –PHP SUPPORT.PYTHON.WE HAVE IN DEVELOPMENT DEPLOYMENTSLOTS.SO THAT YOU CAN STAGE ENVIRONMENTSAND SWAP BETWEEN WHEN YOU WANT TO GO FROM DEV TEST TO PRODUCTION.TESTING PRODUCTION BOOSTINGTRAFFICBY — WE HAVEA LARGE AMOUNT OF APPLICATIONS ON THE PLATFORM. WITH SOME OF THE BENEFITS YOU GET AND LOAD BALANCING.WE TAKE CARE OF THE LOADBALANCING ALGORITHM.SO YOUR APPLICATIONSHIDDENHIGH
CPU. WE WANT TO GO TO TWO INSTANCES,10 INSTANCES.YOU’RE HITTING MEMORY LIMITS.YOU CAN SCALE OUT OR UP IN A COUPLE OF MINUTES.NO LONGER ARE YOU WAITING FOR IT
TO PROCURE AND PROVISION NEW MACHINES.WE CAN PROVIDE YOU WITHA GLOBAL
STAMP THAT’SGOT CAPACITY FOR YOU TO SCALE OUT.WE’RE 19 .95 EVEN WITH A SINGLE INSTANCE. WE MAINTAINSLA FOR YOU.WE REDUCE YOUR OPSCOST IN TERMS
OF EXPENDITURE AND THOSE AS THAT INFRASTRUCTURE AND
FREE UP YOUR STUFF TO ADD MORE VALUE IN OTHER WAYS.WE ARE TRULY GLOBAL.WE ARE ONE OF THE,ITHINK, FOURTH SERVICE THAT GOES INTO ANY AZURE DATA CENTER.WE ARE THERE AS SOON AS COMPUTER
NETWORK STORAGE AND SQL LAND AND
WE ARRIVE.WE HAVE SUPPORTFOR HIGH WORKLOADS.DEEP INTEGRATION WITHAAD AND HEAVILY SECURE AND COMPLIANT. 575 THOUSAND 000 CUSTOMERS ARE ACTIVELY USING US WITH OVER 1 .8 MILLION APPS AND SITES HOSTED.WE’RE HABILITATEING OVER — OVER 120 BILLION REQUESTS PER DAY.ON THE PREDAY I GOT THE QUESTION
WOULD I EVER HOST ANYTHING THAT ISMORE THAN DEVTEST ON AZURE SERVICE.WE RUN 800 THOUSANDS 000 VMS ANDA LARGE NUMBER — SO THOSE FAMILIAR IN THE U.S.,JET.COM,THEY HOST THEIR EH-COMMERCE PLATFORM ON TOP OF US.WE HAVE GOVERNMENT SITES FROM VARIOUS PLACES AROUND THE WORLD.WE’VE DONETHE CANADIAN ELECTIONS.NOBEL PEACE PRIZE.WE HAVE A WIDE VARIETY OF DIFFERENT APPLICATIONS ON THE PLATFORM.YOU CAN BE CONFIDENT IN WHAT YOU’RE>>SO WHY DID WE ADDWINDOWS CONTAINER SUPPORT ON AZURE APP SERVICE?WE LOOKED ATOUR CUSTOMER BASE AND LOOKEDATOPPORTUNITIES WHERE CONTAINERS WILL HELPWITH SOME KEY SCENARIOS.AND THE KEY SCENARIOS THAT WE’RE
LOOKING AT IS LIFT AND SHIFT DIRECT PATHS.SO WE’VE GONE PAST THE STAGE WHERE CUSTOMERS WANT TO LIFT AND
SHIFT INTOAN — A VM AND MANAGE
AND HOST THAT ENVIRONMENT AND DEAL WITH IT.THEY’RE NOW LOOKING AT THE BENEFITS BUT NOT QUITE READY TO GO FULL PAAS.THEY CAN’T MAKE TOO MANY CHANGES
TO THEIR BUT WANT TO
TAKE OF GLOBAL SCALE,AUTOSCALING, DEPLOYMENT SLOTS.A LOT OF THINGS WE HAVE BUILT INTO THE PLATFORM. BY BEING ABLE TO CONTAIN APPLICATION AND RUN IT WITHIN AZURE APP SERVICE IT GIVES THE BENEFITS OF AND SHIFT.>>AZURE APP SERVICE BY DEFAULT RUNS IN A SANDBOX.OUR PROPRIETY ANDBOX TECHNOLOGY.WE DON’T ALLOW CERTAIN THINGS TO
HAPPEN.ONE OF THE THINGS IS BEING A PLATFORM AS A SERVICE WE DON’T ALLOW YOU TO HAVE ACCESS TO THE HOST VM ITSELF. NO LONGER CAN YOU INSTALL — INSTALL CUSTOM CULTURES.INSTALL CLIENT LIBRARIES, COMPONENT LIBRARIES.DAT — CONNECTIONS AND WE DON’T ALLOW THAT.NOW IN A CONTAINER THE ACTUAL HOST ENVIRONMENT IS YOUR CONTAINER FOR THESANDBOX BECOMES THE CONTAINER.NOW YOU HAVE FREE REIGN TOINSTALL CON — COMPONENTS IN YOUR CONTAINER AS THE ISOLATION BOUND TRI.WE DO BLOCK CERTAIN APIS WITHIN OUR SAND BOX.SOTHE TRADITIONAL APIS THE GDI BASE LIBRARIES.JOIN LIBRARIES.THE KEY EXAMPLE OF THAT ISPDF GENERATION BY URL.WE DID USED TO HAVE– TO ENABLE
REPORTING SERVICES IN AZURE.IT DOESN’T COVER ALL THE BASIS FOR ALL CUSTOMERS.>>SO BY WORKING INSIDE A CONTAINER YOU’RE NOT BLOCKED BY THAT SAME SANDBOX. DATA CENTER MIGRATION.HOW MANY OF US WORKED WITH A COMPANY WHO ARE LOOKING AT MOVING DATA CENTER OR HAVE APPLICATIONSWRITTEN BY THIRD PARTIES THEY DON’T HAVE ANY RELATIONSHIPS WITH,BUT THEY NEED TO MOVE AWAY FROM THE EXISTING INFRASTRUCTURE AND THEY
NEED TO MOVE TO SOMETHING NEW,AND THEY DON’T WANT TO SIGN ANOTHERON-PREMISESDATA CENTER INFRASTRUCTURE LEASE.THIS GIVES USAN OPPORTUNITY TOHELP CUSTOMERS WITH DATA MIGRATION PLANS.THINKING FORWARD THINGS LIKE —
WHAT’S YOUR PLAN FOR THAT AS A BUSINESS?WHAT CAN WE DO TO HELP WITH THAT.>>LAST,BUT NOT LEAST. .NETCORE APPLICATIONSAND ABLE
TO FOR SOME TIME.THERE ARE ORGANIZATIONS AND USED
CASE WHERE IS CUSTOMERS DO NEED TO BE IN THE WINDOWS ENVIRONMENT AND THEREFORE NEED TO BEWINDOWSCONTAINER.>>WITHIN APP SERVICE WE HAVE THIS BRANDSKEWCALLED WEATHER FOR CONTAINERS. AN ENTRY POINT FOR CUSTOMERSINSIDE CONTAINERS.THIS GIVES A NUMBER OF DIFFERENT
CAPABILITIES ON TOP OF THEBASE PLATFORM THAT WE ALREADY HAVE.TIGHT INTEGRATION WITH DOCKER HUB.CONTAINER REGISTRY.YOU CAN BRING YOUR OWN CONTAINERREGISTRY.YOU CAN HOST YOURS OFFSITE.AS LONG ASIT’S ACCESSIBLE TO USON THE WEB.YOU GET THE BENEFIT OF THE PLATFORM.INTELLIGENT DIAGNOSTICS.YOU GET THEBENEFIT OF THAT STRAIGHT AWAY BY DEPLOYING ON TOP OF OUR PLATFORM.THE CONTAINER WORKLOAD BECAUSEYOU’RE OFTENBRINGING A CUSTOM CONTAINER IT OPENS THE BREADTH OF STACKS YOU CAN WORK WITH. FROM A CODEOR A BLESSED WITHIN THE NEXT CONTAINERS.LINUX HAS THE OPTION OP BRINGING
YOUR OWN CONTAINER AND WINDOWS ONLY IN THEIMPLEMENTATION OF BRING YOUR OWN CONTAINER.A CUSTOMER CONTAINER WITH A CUSTOMER RS BENEATH. THAT OPENS UP FOR YOU TO LOOK AT OTHER APPLICATIONS STACKS THAT WE DON’T NECESSARILY SUPPORT BY DEFAULT. ONE I CAN THINK OF BASEDON MY PAST HISTORY ISCALLED FUSION.WE DON’T HAVE SUPPORT FOR IT BUTWITH CUSTOM CONTAINER THAT MAY BE SOMETHING TO LOOK AT.BACK IN2000 IT WAS ON LINUX.WEHAD 4 .5 .2 OR SOMETHING LIKE THAT.THOSE APPLICATIONS STILL EXIST.IF IT’S NOT BROKE,DON’T FIX IT.SO WE KNOW THESE APPLICATIONS EXIST IN ORGANIZATIONSAND ENTERPRISE. WITH CUSTOM CONTAINERS WE CAN BRING THESE WORKLOADSFORWARD WITH US.>> IN ORDER TO DELIVER WINDOWS CONTAINERS ON AZURE APP SERVICE WE NEED TO LIGHT A NEW SKU.THIS REPRESENTS SOME OF THE MOST
POWERFUL MACHINES WE HAVE AVAILABLE TODAY.AND THEY’RE BUILT ON THE– DV3 SERIES VMS.THE ENTRY LEVEL VMS WITH THE AZURETHAT — BECAUSE WE NEED NESTEDVISITOR STATION.WE — VIRTUALATION.WE NEED TO BURN AWITHINA VM.THAT’S WHY WE NEED TO BEON DB3.>>50 GIG LOCAL STORAGE.IT’S THE LOCAL STORAGE KEY FOR HOW MANY CONTAINERS YOU GOING TO
GO INTO THOSE INSTANCES.THAT’S WHERE YOUR CONTAINER IS HOSTED.HOSTED ON THESSD.>>SOWE GO ALL THE WAY UP TO PC
FOUR WHICH ISAN 8-COREAND 32 GIG — THESEARE EXCLUSIVE TO WINDOWS CONTAINER APPS.NO OTHER TYPE CAN BE DEPLOYED ON
TOTHIS SKU. IT’S PURELYFOR WINDOWS CONTAINERS APPS.IF YOU’RE FAMILIAR WITH APP SERVICE IT’S NOT NEW.IF YOU’RE NOT FAMILIAR IT’S SOMETHING THAT MAYBE OF INTEREST
TO YOU.CUSTOM DOMAINS AND — THIS IS A PREMIUMSKU SO YOU CAN GET 20 INSTANCES.EARLIER IN THE PUBLIC PREVIEW WE
WERE FREEAND A LIMIT OF TWO INSTANCES.>>20 STAGING SLOTSDEPENDING ON
THE SIZE OF YOUR CONTAINERS AND HOW YOU SPREAD THOSE. USE TRAFFIC MANAGER TO DISTRIBUTE WORKLOADS.YOUR CPUS,THE INSTANCE OF THE SKEW IS DEDICATED FOR YOU. SO NOBODY ELSE WILL BE RUNNING WORKLOADS ON THOSE INDIVIDUAL MACHINES.THEY ARE DEDICATED TO YOU.THE MEMORY PER INSTANCE,YOU CAN
SEE ITUP FRONT. THAT’S TO SPLIT ACROSS ALL OF YOUR CONTAINERS.THERE WILL BE SOME FORM OF MEMORY MANAGEMENT TO DEAL WITH. DEPENDINGON HOW MANY CONTAINERSYOU PACK INTO THAT INDIVIDUAL MACHINE. THE STORAGE ISALL LOCAL SSD.THERE’S AN OPTIONAL250 GIG OF DISC STORAGE WEMAKE AVAILABLE STANDARD ACROSS ALL APPSERVICE APPS.YOUR CONTAINER WOULDN’T BE HOSTED INTHERE.IT WOULD BE FOR OTHER ASSETS.>>ONE OF THE PRINCIPLE THINGS WITH CONTAINER BASED APPLICATIONS IS THAT YOU BUILD THEM OFFA BASE IMAGE.SO IN WINDOWS THIS BECOMESEITHERWINDOWS SERVER CORE IMAGE
ORWINDOWSNANO SERVER IMAGE.IF YOU HAVE AN APPLICATION BASED
ON .NETFRAME WORK YOU’RE IN A WINDOW SERVERCALLED IMAGE.DOESN’T ENABLE .NETFRAMEWORK TO
BE INSTALLED ON THATOS.SUPPORT WISE WE NEED TO BE ON A SERVERCORE IMAGE.IF YOU’RE DOINGASP .NET CORE YOU CANHOST ON NANO IMAGES.AND THEY ARE A LOT SMALLER. THERE’SA SIGNIFICANTDIFFERENCE
BETWEEN A WINDOWS SERVERCORE IMAGE ANDNANO IMAGE.THE WINDOW’S SERVER TEAM HAS DONEA FANTASTIC JOB IN THE NEUROVERSIONS OFWINDOWS– ONE LIMITATION OF RUNNING ON AZURE APP SERVICE IS THAT WE ARE RUNNING THELONG TERM CHANNEL VERSION OF 2016.WE’RE NOT ON 1709 OR1803 IF YOU’RE FAMILIAR WITH THAT ONE.SEASONALCHANNEL.THE UPDATE CHANNEL THAT COMESMORE FREQUENTLY.WE’RE NOT ABLE TO SUPPORT THOSE CONTAINERS. WE DO NEED TO USETHE –LTSC2016. OR THENANO SERVER.THIS SLIDE IS IMPORTANT BECAUSE WHEN YOU’RE BUILDING YOUR CONTAINER IMAGES AND HOSTING ON AZURE APP SERVICE.BY ALL MEANS USEA BASE IMAGE YOU CUSTOMIZE AND BROUGHT WITH YOU.BUILD IT OFF ONE OF THESE BASES.WE –WE CACHE THESE VERSIONS OF
THE BASE IMAGES ON TO OUR WORKERS.THE ELIMINATE THE NEED FOR THAT CONSTANT PULL COMING FROM THE CONTAINER REGISTRY.THE AVERAGE SIZE OF A WINDOWS SERVER CORE — AROUND14 GIG FOR
A HELLO WORLD.SO THAT GIVES YOU AN IDEA WHY YOU SHOULD USE ONE OF THESE CASHED IMAGES THAT IS BASED.WE BASE — WE CACHE THE WINDOWSLTSC2016 LATEST.THENANO SERVER 2016 ANDWE CACHE THEASP.NET — THE MULTIARC ONES ARE CLEVER.THEY CAN DETERMINE THE HOST CONTAINERS GOING TORUN ON AND PULL DOWN THE RIGHT VERSION OF WINDOWS SERVER.QUITE CLEVER.ON THE .NET WE DO CASH THE SDK CONTAINER AND THE RUNTIME CONTAINER. IF YOU WANT TO DO ANY BUILD WITHIN THE CONTAINER YOU CAN DO THAT AS WELL.>>LET’SDO A DEMO.I WILL TRY TO DO QUITE A FEW TODAY.LET’SHOPE I’VE SACRIFICED ENOUGHTO THE DEMO GODS AND OFF WE GO.>>THE SCENARIO IS HERE,I’VE GOT JUSTA — I’M JUST GOING TOSPIN UP THE .NET FRAMEWORK APPLICATIONS.SOMETHINGCOMMON WITHIN THE ORGANIZATIONS.>>I’M GOING TO USE 4 .6.THE REASON IS BECAUSE I WANT SOME OF THE DEMO PAGES.I WANT SOME OF THESCAFFOLDING.IHAVE SAMPLES LATER THATHAVE –SO TODAY YOU JUST WANT SOMETHING THAT LOOKS A BIT MORE GRAPHICALLY APPEALING THAN SOMETHING I WOULDWALK AROUNDWITH FOR A DEMO.LY CHOOSE — I WILL CHOOSE WEB FORMS.WE HAVE SUPPORT FOR DOCA COMPOSE IMMEDIATELY.I DON’T WANT TO GO THROUGH THAT.I AM TRYING TO SIMULATE.YOU’RE IN THE OFFICE AND OPENED ONE OF YOUR EXISTING WEB APPS.HOW DO WE GET THAT INTO A CONTAINER AND TO AZURE APP SERVICE?>>WE’LL LET VS SPIN UP THIS PROJECT.I — ITWILL TAKE A LARGE AMOUNT
OF TIME COMPARED TO WHEN I REHEARSED THIS. THAT’S LIFE AND THAT’S WHAT REALLY HAPPENS.IT’S A VERY STRAIGHTFORWARD STEP.FOR US TO BE ABLE TO TALK THIS WEBERAND ADD DOCKER SUPPORT.LY GO INTO THE WEBER.AND I AM ON THE VERY LATEST UPDATE OF VS2017.THE MENU OPTION MAY BE SLIGHTLYDIFFERENT ON THE VERSION YOU ARE
RUNNING.YOU WILL EITHERSEE ADD,CONTAINER ORCHESTRATOR SUPPORT,OR YOU WILL SEE ADD DOCKER SUPPORT.DEPENDINGON HOW RECENT YOUR VERSION ISIN– GO INTOTHE VISUAL STUDIO INTALLER.CHECK THAT BOX AND YOU WILL GET THE DOCKER SUPPORT WITHINVISUAL
STUDIO AND OFF YOU GO.I WILLCHOOSE CONTAINER OKAY TRAITOR SUPPORT.GOTA — ORCHESTRATOR SUPPORT. YOU’LL SEE TWO OPTIONS.SO VISUAL STUDIOOFFERS THE SUPPORT TO BE ABLE TO BUILD YOUR
CONTAINERSFOR DOCKER COMPOSE OR
SERVICE FABRIC.THE ONE WE’RE INTERESTED IN IS DOCKER COMPOSE. WHAT VISUAL STUDIO IS DOING ADDING ME A DOCKER COMPOSE FILE.MORE IMPORTANTLY I GET THIS DOCKER FILE.AND THE DOCKER FILE IS WHERE I SET UP THE BUILD OF MY CONTAINER.AND TELLS ME THE INFORMATION ABOUT THE BASE IMAGE OF WHERE MY
SOURCE IS GOYIM GOING COME FROM AND — GOING TO COME FROM AND ANY OTHER STEPS I WANT TO RUN ON
THIS CONTAINER.FIRST THING YOU’LL SEE,YOU’LLNOTICE THAT MY SOMEONE MORE RECENT BUILD OF WINDOWS 10WHICH IS CAPABLE OFHOSTING THE 1803 CONTAINERS. VISUAL STUDIO DETECTS WHICH VERSION YOU’RE CAPABLE OF RUNNING IN YOUR LOCAL DEVENVIRONMENT AUTOMATICALLY AND MAKES THE DECISION WHEN BUILDING THE DOCKER FILE.FOR HOSTING ON AZURE APP SERVICE
WE NEED TO MAKE ONE SMALL CHANGE.SO WE JUST NEED TO CHANGE THE END OF THE IMAGE NAME TOLTSC LTSC 2016.THAT’S JUST THE IMAGE TAKE.WE HAVE THEREPOSITORY. WE HAVE THE IMAGE.ASP .NET AND THIS SEVER TAG ON THE END.AND THIS ENABLES ME TO HOSTANY APPLICATION.THE SET AN ARGUMENT OF SORT AND SET THE WORKING DIRECTOR WITHIN THE CONTAINER. WHAT I’M DOING IS COPYING THE SOURCE OF MY PROJECT OUTPUT WHENA DO A PUBLISH.SO– YOU’LL SEE IN THE OUT PUT WINDOW IT’S HEAVILYYOU’RE FRIEND WHEN WORKING WITH DOCKER CONTAINERS. YOU HAVE A LOT OFOUT PUT IMMEDIATELY. WHAT I CAN SEE IS VISUAL STUDIO AND DOCKER IS BUILDING MY CONTAINERS FOR MY LOCAL DEV ENVIRONMENT SO THAT I CAN DEBUG DIRECTLY INTO THOSE, RUN THEM LOCALLY ON MY MACHINE BEFORE I EVEN DECIDE TO PUSH UP.JUST NEED TO WAIT FOR THAT.>>THERE WE GO. BUILDINGMY NEW CONTAINER FROM MY SAMPLE.AND ONCE THAT’S COMPLETE WE’RE GOING TO PUBLISH AND THEN WE’LL GO THROUGH AND SET UPTHE WEB APP IN AZURE APP SERVICE.OKAY.SO I’VE DONE.MY CONTAINERS ARE READY. JUST TO PROVE THERE’SNO SMOKE AND MIRRORS.LET’S GO INTO POWER SHELL. THERE’S THE IMAGE UP AND RUNNING IN THE DEV FORM.I CAN SEE THAT MY CONTAINER THAT
WE JUST BUILT,HELLO WORLD IS UP
AND RUNNING ON MY MACHINE. I CAN WORK THROUGH THE PROJECT STEP IN DO MY BREAK POINTS.EVERYTHING WE’RE USED TO DOING.WHAT I’M GOING TODO NOW AS I’M GOING TO RIGHT CLICK PUBLISH.IKNOWDONOVAN SAYSDON’T RIGHT CLICK PUBLISH BUT I WANT TO DO SOMETHING QUICKLY TO SET UP A PUPIL LINE.WE ARE GOINGTO SET UP A PUPIL LINE. — A PIPELINE.I HAVE A WEB APPDECIDED TO GIVE THE OPTION DO I WANT TO GO STRAIGHT TO AZURE APP
SERVICE. NO IN THIS CASE I WANT TO DO CONTAINER REGISTRY.WE ARE WORKING FOR FUTURE VERSIONS OF VISUAL STUDIO TO HAVE THE WHOLE THING.SO YOU CAN PUBLISH THE REGISTRY AND CREATE WITHIN VISUAL STUDIO.WE HAVE THAT SUPPORT FOR LINUX TODAY BUT NOT QUITE FOR THE WINDOWS CONTAINERS.>>WE’LLGO INTO CONTAINER REGISTRY.HERE I GET THE CHOICE OFCREATING A NEW AZURE CONTAINER REGISTRY EXISTING ONE INSIDE MY SUBSCRIPTION,DOCKER HUBBED OR — YOU AS AN ORGANIZATION DECIDE ALL YOUR IMAGES YOU WANT TORESIDE IN YOUR PURPOSE BUILTCUSTOM REGISTRY THAT YOU HOSTAND THAT’S WHERE YOU WANT TO KEEP THEM.TO TODAY I’M GOING TO DOCKER HUB.SO I NEED TO LOG IN TO DOCKER HUB.>>IN THE BACKGROUND WE’LLGET THE PUBLISHING GOING.WE CAN SEE THE BUILD IS GOING FORWARD. CONFIGURATIONS MY RELEASEBUILD.BUILDING THAT NEW SAMPLE.ONE KEY POINT THE POINT OUTHERE
MORE CONTAINER IMAGES HAVE A TAG.EXCUSE ME VISUAL STUDIO START–
IMAGE TAG.YOU CAN– IF YOU’RE WORKING WITHINAND WANT TO MAKE SURE IT’S GOOD.YOU CAN EDITTHE IMAGE TAG BY CLICKING ON THE LINK AND CHANGING THE IMAGE TAG TO ANYTHING BUT LATEST.PREVIOUS VERSIONS THAT WASN’T POSSIBLE.SO THAT’SGONE THROUGH. THAT’S PUBLISHED ALREADY.ARE WE GOOD?NOW WE’RE GOINGTO VISUAL STUDIO. LET’S GOTO DOCKER HUB AND SEE.SO THERE’SMY NEW SAMPLE.ALREADY PUBLISHED. SO THE REASON WHY THAT WAS SO QUICK IT WASBECAUSE I’VEGOT OTHER FLI-XS THAT USE SIMILAR —
APPLICATIONS THAT USE SIMILAR LAYERS.ALL I’M PUSHING TO DOCKER HUB IS
THE DIFFERENCE. IT’S ABLE TO DETECT THE ONLY THING I NEED TO PUBLISH ISDIFFERENT LAYERS. WE’LL GO THROUGH LAYER LATER ON BEFORE WE GO THROUGH THE — AFTER WE GO THROUGH THE FUNDAMENTALS.LET’S CREATE A RESOURCE.I WILL GOTO WEB APP FOR CON TAUPERS.– CONTAINERS.>>I GIVE THE APPLICATION A NAME SO THAT WE CAN BROWSE TO IT.I CHOOSE WINDOWS.NOW WHEN I GO THROUGH TO CREATE AN APP SERVICE PLAN I HAVE MY SUB SCRAPINGS BECAUSE I’VE BEEN — SUBSCRIPTION.I WANT TO GO THROUGH AND CREATE A NEW EXPERIENCE AND THAT’S WHATTHE WHOLE HELLO WORLD IS ABOUT.>>HELLOWORLD– WE ONLY HAD TWO REGIONSWE– LAST WEEK,AT THE WEEKEND WE ADDEDAN ADDITIONAL FIVE — IN AUSTRALIA EAST.SOUTHEAST SOUTHEAST ASIA AND ADDITIONAL STAMPS IN NORTH EUROPE AND ADDITIONAL CAPACITY IN WEST — IN WEST EUROPE.AS WE BUILD THE CAPABILITIES ASWE HEAD TOWARD GENERAL RELEASE WE WILL ADD MORE AND MORE REGIONS TO THAT FOOTPRINT.>>WE CAN SEE THE SKEWS I MENTIONED AND THIS IS WHERE YOU CAN CHOOSE.>>WE HAVE THE PC TWO,PC THREE,PC FOUR AND YOU’LL SEE THE PRICING AS WELL.MY IN GREAT BRITISH POUNDS WHICH IS NOT WORTH AS MUCH AS THEY ONCE WAS.WE WILL NOT GO INTO POLITICS .DEV TEST,WEDON’T HAVE DEV TEST OPTIONSFOR WINDOWS CONTAINERS.THEY ARE A PREMIUM OFFERING NOW IN THE PUBLIC PREVIEW.WE HAVE CHALLENGES. THEYARETHINGS THINKING ABOUT HOW WE BRING THOSE AND MAKE IT EASIER AND DIFFERENT WAYS TO SOLVE THAT PROBLEM.RIGHT NOW WE DON’T HAVE AN ANSWER.THAT’SJUST BEING HONEST. WE’RE NOT ANYTHING FROM YOU.WE ARE AWARE OF THESE ISSUES AND
WORKING ON WHAT WE CAN DO TO BRING THEM. THIS MAY HEAD OFF ONE QUESTION THAT MANY OF YOU HAVE.WHEN ARE WINDOWS CONTAINERS COMING TO AZURE APP SERVICE ENVIRONMENTS.THAT’S WHY YOU DON’T SEE ANY ISOLATED SKEWS EITHER.THE DAY I LAUNCHED THE PRIVATE PREVIEW BACK IN MAY,THE FIRST QUESTION I GOT FROMMY CUSTOMERS
IS WHERE ARE THE– I LITERALLY JUST TOOK THIS OUT OF THEOVEN.WE WILL BRING THEM BUT NOT RIGHTNOW.SO I’M GOING TO CHOOSEPC TWO OUR SMALLEST INSTANCE. LY GO OKAY.I’M GOINGTO CONFIGURE MY CONTAINER.WE DO HAVE A QUICK START.SO IF YOU WANT TO SEE A CONTAINER APP RUNNING,I BUILTA
SIMPLE — THE SAME THING WE’RE DOING NOW.THE HELLO WORLD AND GET UP AND RUNNING.ACR. FOR THIS WE WILL USE DOCKER HUB. SAW
THAT.WE HAVE VALIDATION TO DETECT — CORRECT.WE — WANT TO FAIL EARLY RATHERTHAN — THERE’S NOTHING WORSE THAN HAVINGA VM SPIN OFF AND WAIT FOR THE PROCESS TO HAPPEN AND SEEING THE LOGS.THEY COULDN’T FIND MY IMAGE. THAT SUCKS.WHY DON’T WE TELL YOU NOW.THAT’S WHAT WE’VE DONE.TELL YOU KNOW.PULLING A WINDOWS IMAGE OR LINUXIMAGE.SO YOUDON’T — SO LET’S SEE WHAT WAS MY — WHAT HAVE VALIDATED.WE’RE GOOD TO GO.WE HAVE EVERYTHING SET UP.A NEW RESOURCE — NEW WEB APP.WE CREATE.WHAT HAPPENS IN THE BACKGROUND IS WE GO OFF AND CREATE THE WEB SITE.WE CHECK THE NAME IN THE DNS,IN
OURDNS LOOK UP TO MAKE SURE NOBODY ELSE GOT IT. WE PROVISION THE WEB SITE ON THE — AND WE START TO PULL ONE OF OUR WORKERS THAT IS AVAILABLE
AND MAKE THAT AVAILABLE TO YOUR APPLICATION. AND THEN WE START TO DO THE DOCKER PULL ONCE THE APPLICATION
IS–
>> THAT FAILED.LET’S TRY IT AGAIN.IF THIS DOESN’T WORK,I HAVE PLENTY MORE.>>GOINGTO CHOOSE–
>>SHOULD TAKE ABOUT 40 SECONDSAND THEN WAITING FOR THE WINDOWS
SERVERCORE.LET’S HAVE A LOOKAT THE DEPLOYMENTIN PROGRESS. THE FIRST THING TO NOTE.YOU’LL SEE ISTHE DEPLOYMENT TITLE IS APP SERVICE LIMITS.THAT IS A LEGACY ART FACT FROM THAT GALLERY ITEM.THE GALLERY ITEM WEB APP FOR CONTAINER.UNDERNEATH THE SHOED– THAT’S WHY YOU’LL SEE THAT IN THEFT.>>THAT ITEM WHEN YOU SEEIT IN DEPLOYMENT LIST WHICH IS REALLY IMPORTANT TO YOU’RE DOING ARM TEMPLATES.YOU’LL START TO SEE THIS THING AND HITTING — WELL HANG ON A MINUTE I HAD TO DEPLOYA WINDOWS CONTAINER I WAS ON LINUX.THAT’S THE REASON WHY.IT WILL EVENTUALLY GO AWAY THAT ENTIREENTRY POINT.LET’S GO BACK TO THE DECK AND DO
A SUMMARY OF WHATI’VE SHOWN HERE.THE PREREQUISITES IS YOU NEED VISUAL STUDIO2017AND AZURE WORKLOADS INSTALLED.WE INSTALLED THE .NET CORE WORKLOADBECAUSE I WANT TO DO THE DEVELOPMENT BUT THAT’S WHERE THE DOCKER SUPPORT COMES IN. DOCKER FOR WINDOWS THAT ENABLES YOU TO RUN DOCKER CON TAUPERS ON YOUR LOCAL MACHINE.THAT IS REQUIRED. THE NICE FEATURE IS YOU CAN SWITCH BETWEEN THE TWO.IFYOU WANT TO DO THE NEXT CONTAINERS YOU CAN CAN SWITCH.IT WILL ENABLE YOU TO DO BOTH.SWITCH TO LINUXAND BACK TO WINDOWS.YOU WILL NEED A DOCKER HUB ACCOUNT OR AZURE CONTAINER REGISTRY. IF YOU HAVE AN AZURE SUBSCRIPTION YOU CAN — OR GO TO
DOCKER HUB AND CONNECT TO ONE OF
THEIR ACCOUNTS AND GET RUNNING.THAT EXACT EXAMPLE IS IN THE BLOG POST THAT I WROTE WHEN WE LAUNCHED THE PUBLIC PREVIEW. SO YOU CAN USE THAT SHORT LINK TO GET TO THAT.THE SLIDES WILL BE MADE AVAILABLE AS WELL ON OUR WEB SITE. SO THAT’S NOT AN ISSUE.>>NOW WE NEED TO DRILL INTO WHATCUSTOMIZATION. ALL THOSEI — HOW DO I DO IT IN A CONTAINER.HOW DO I ENABLE THIS TO HAPPEN.LET’S HAVE A FEW DIFFERENT SAMPLES.AND THEN A LOOK AT HOW WE DO.SO ONEOF THE KEY THINGS THAT WEFIND CUSTOMERS HIT UP ALL THE TIME.THEY WANT TO GENERATEA PDF. THEY WANT TO DO IT BASEDON URL.OFTEN THAT CALLSINTO LIBRARIES WE BLOCKED WITHIN OUR SANDBOX.WE BLOCK FOR GOOD REASON.UNFORTUNATELY IT IMPOCKETS COMPONENT — IMPACTS COMPONENTS AND THINGS CUSTOMERS ARE TRYING TO DO.ONE ISPDF GENERATION IN AZURE APP SERVICE.I BUILT THE SAME HELLO WORLD,SAMEASP.NET.I DIDA QUICK SEARCH ONLINE AND SAID,WELL,GIVEME.NETCOMPONENTS WITHPDF GENERATION.I STRUCK GOLD STRAIGHT AWAY.IT WAS BECAUSE OF THE SANDBOX LIMITATION.THIS VERSION ISRUNNING IN A CONTAINER.>>I’M JUST GOING TO PUT INHERE.MY BLOG ADDRESS.IT HASN’T BEEN FOR A LONG TIME.THREE AND A HALF-YEAR-OLD AND ONE AND A HALF YEAROLD SUCK OUT YOUR TIME.SO ALL THAT IS DOING JUST THE BOILERPLATECODE WITHIN THE LIBRARY.>>THIS IS THE SAME PROJECT.THIS PDF SAMPLE ISA PROJECT YOU’RE REVIEWING ON THE WEB THERE.AND YOU’LL NOTICE THIS PROJECT HAS A DOCKER FILE.BEFORE THIS I PUBLISHED TO ANOTHER WEB SITE SO THAT WE COULDPROVE THATIT’S NOT — SO IF I DO THE SAMETHING AGAIN.>>WE SHOULD,UNLESS SOMEBODY MADE CHANGES TO OUR SANDBOX THEY DON’T KNOW ABOUT IN THE LAST FEW DAYS.SHOULD SEE A NICE YELLOW SCREEN OF DEATH.WOW.DEPENDS WHAT YOU FEEL MOST OF THE TIME.MOST OF THE TIME YOU DON’T WANT TO SEE A YELLOW SCREEN OF DEATH.PLEASE.PLEASE.PLEASE.DOES SEEM TO BE FAR TOO LONG.DON’T KILL MY DEMO.COMEON.I’M NOT GOING TO WAIT TOO LONG.ALL I WANT TO SHOW — THERE WE GO.BACK.YEAH.SO WE’VE GOTAN ARROW –AN ERROR.THATTHIRD PARTY LIBRARY IS CALLING IN TO SOMETHING WE BLOCK
IN OR SANDBOX– LOOKING AT SANDBOX–SORRY.THATPROJECT.JUST TO SHOW–JUST SO YOU KNOW
WHEN YOU GUYS ARE VISUAL STUDIO IN THE OFFICE, I HAVE THE
SAME ISSUES.64 GIG OF RAMI7 AND I STILLGET
THE SLOW DOWN. WE ALL DOG FOOD AND WE ALL GIVE BACK THE FEEDBACK AND NOT EVEN ABLE TO OPEN THAT FILE.IT’S SHARED OVER VPN SO THAT MAY
BE THE ISSUE.LET’S LOOK INTOA — ANOTHER SAMPLE THAT WE HAVE.CUSTOM FONTS.WE DON’T ALLOW YOU TOINSTALL ANYTHING INTO OUR WORKERS.SO WE DON’T ALLOW YOU TO BRING YOUR OWN FONTS.WE DON’T ALLOW YOU TO HAVE THINGS LIKE THAT INSTALLED ON THE VM.SO IN THIS EXAMPLE,THIS ISA SIMPLE ALL I’VE DONE IS LOADED TWO FONTS AVAILABLE AND WHAT I DO IS
USE A DORK FILE TO INJECT — A DOCKER FILE TO INJECT INTO THE CONTAINER AND OFF WE GO.YOU CAN SEE THE CAPABILITIES.IT MAY LOOK LIKE A SIMPLE EXAMPLE.IT’S THINGS THAT WE GET A LOT OF
REQUESTSFROM CUSTOMERS TO BE ABLE TOINSTALL CUSTOM FONTS.THEY CAN BE EXPLOITED SO WE DON’T ALLOW IT,FOR EXAMPLE.SO IHAVE THE FONTSIN MY SOLUTION WHICH,YEAH. IT’S DEMO I CAN SEE YOU SCREAMING AND YOU DON’T LIKE THIS AND ANYBODY WHO BUILT A SOLUTION KNOWS YOU PROBABLY DON’T WANT TO DO THIS.AND I GO AND MAKE IT WORSE.I PUTA POWER SHELL IN MY WEB DIRECT PRINCIPLE SLAP ME ON THEWRIST I KNOW THAT’S NOT RIGHT THING.I WANT TO SHOW A SIMPLE EXAMPLE AND IN THE NEXTEXAMPLE SHOW MORE DETAILED.IF I COULD GIVE YOU ONE MESSAGE ABOUT YOUR IS GET TO BE GOOD FRIENDSYOUR A.I.PRO COLLEAGUES. THEY HAVE DEE DEEP KNOWLEDGE — DEEP KNOWLEDGE OF HOW TO CUSTOMIZE. THEY HAVE DEEP KNOWLEDGE OF POWER SHELL.OFTEN YOU WILL SPEND YOURSELF DOING LOTSOF SECS TRYING — SEARCHS TRYING TO FIGURE OUT HOW
TO DO SOMETHING. THE FIRST THING I DO IS I HAVE TO INSTALL A FONT.HOW DO I DO THAT ON A SERVERCALL WHEN I — AND HOW DO I SCRIPT IT.THEFIRST THING I HAD TO DO ISFIGURE HOW TO DO THIS THROUGH POWERSHELL.THIS WORKS FOR ME.IF IT WORKS FOR ME SO THAT’S ALL
THAT MATTERED TO ME.SO I ADDED THE FONTAND THE POWERSHELL AS CONTENT. SO THEREFORE IT GETS PACKAGED WITH MY APPLICATION AND DEPLOYED
INTO MY CONTAINER AND NOW CAN I EXECUTE THOSE PIECES AND REACH THEM.SO ALL I HAVE ISA COMMAND ONCE I’VE DONE THE COPY.IT’S RUNNING WITHIN INSIDE NY — MY CONTAINERAND PUB YOU SHALL — PUBLISHWITH CUSTOM MY STATION. THAT’S HOW IT LOOKSSTRAIGHTFORWARD. IT IS.THAT’S HOW WE DID THAT.>> LET’S CLOSE THAT VERSION.>>CUSTOM CULTURES.SO WE GET THIS REQUEST A LOT.BUT ALSO THE CUSTOM CULTURE HAS TO BE INSTALLED OF THEBASE — AND WE DON’T ENABLE IT.WE USEDTO — WHEN WE USED TO HAVE A BASE OF A 202 IMAGE.WE ONLY HAD A CERTAIN SUBSET OF LANGUAGE AVAILABLE TO US.A LOT OF CUSTOMERS ESPECIALLY IN
OTHER COUNTRIES IN THE FAR EAST AND AZURE WANTED ADDITIONAL LANGUAGE AS THE DEFAULT SET WE HAD IN WINDOWS. SO WE ENABLE CUSTOM CULTURE THIS IS WAY BEEN SO YOU SEE HERE IT’S PULLING THECUSTOM CULTURE NAME.SO USSTANDARD ASP.NET.I SET THE CUSTOM CULTURE TO BE THAN THAT OF MINE. I PULLED OUT THE NAMETO PROVE — I’VE BEEN ENJOYING LIFE
IN THEUNITED STATES FOR TWO AND
A HALF YEARS BUT I STILL STRUGGLE WITH DATES WHEN I GO TO
DOCTORS.I STRUGGLE WITH HAVING THE MONTHFIRST BEFORE THE DAY.I SPENT 35 PLUS YEARS WORKING THE OTHER WAY.THIS IS MY EXAMPLE. IHAVE MY CUSTOM CULTURE,MY CUSTOM CULTURE CODE HERE JUST TO
BUILD A CULTURE BUILDER.BUILD THAT INTO A LIBRARY.THEDATE,REGISTERED THE NEW CULTURE.AND THENTHIS APPLICATION I I JUST SET THE DEFAULT CULTURE. TO BE MY NEW SAMPLE AND USE THAT WITHINTHE WEB PAGE.THE POWER IS IN THE DOCKER FILE.THIS IS THE THING I WANT TO GET ACROSS TO YOU HERE TODAY.SO INSTEAD OF HAVINGTHAT DRL ASPART OF THE CONTENT WITHIN THE APPLICATION– WHAT I HAVE DONE IS UPLOADEDMY DEPEND SIS UPINTO BLOB STORAGE AND WRITE POWERSHELL– EXECUTE PROCESS TO
INSTALL THOSE.I EXECUTE AN EXE TO INSTALL THAT
CUSTOM CULTURE ANDTHE– IS–
>>OF WHERE I PUT THOSE.I GET RID OF A LAYER.CONTAINERS ARE BUILT OF MANY,MANY LAYERS.THAT’S WHAT MAKE THEM BIGGER AND
BIGGER. ANYTHING YOU CAN DO TO REDUCE THE SIZE IS ALWAYSGOLDEN.AND YOU NEED THAT DEPENDENT SIS FOLDER.YOU DON’T NEED IT FOR ANYTHING ELSE.BECAUSE THE BASEOS IMAGE THE WINDOWS SERVER CORE IMAGE YOU USE TO BUILD THE CONTAINER HAS BEEN BY YOU IN THE DOCKER FILE BUT YOU — BY YOU RUNNING THAT SCRIPT.THAT SCRIPT IS JUST PULLING DOWNA FILE IT AND THAT FOLDER. AND THEN WE COPY IN THE APPLICATION SOURCE.THAT’S HOW WE DO THAT ONE. MY SAMPLESFOLLOWA PRETTY SIMILAR STRUCTURE.BECAUSE THAT’S THE WAY I FIND CAN WORK WITH CONTAINERS SIMPLY AND EASILY.AND THAT’S WHERE WE GO WITH THAT.SO LET’S SEE IF THISONE SPUN UP.IF NOT,IT WILL BE A GOOD DEMO AND HOW TO SHOW YOUWHEN SOMETHING GOES RUNG — WRONG.THAT HASN’T SPUN UP YET.THAT SITE ISWE HAVETHE — TEAM
WERE A SERIES OF EXAMPLES OF HOW
TO CONTAINER EXISTING APPLICATIONS.THEY HAVE SOMETHING CALLEDTHE E-SHOP DEMO.– YOU CAN GET FROM GET HUB WORKS INA SERIES OF LABS AND SAMPLESANDMAKING SURE THAT IS CONTAINER.THAT HASN’T COME UP YET.WITHTHE NEW PARCEL DROP ON MONDAY YOU CAN SEE WHAT A CONTAINER LOGS WITHINCON TAUPER
SETTINGS.– CONTAINER SETTINGS.WE WILL WAIT FOR THE UI TO SPIN WHICH IS>>THEN WE UNPACK THEM AND THAT’S HOW THAT WORKS.SO THIS IS GIVES YOU AN IDEA OF WHAT IS GOINGON UNDERNEATH THE HOOD.IT’S A SHAPE — A SHAME THIS HASN’T STARTED.WHAT I WANTED TOSHOW — INSIDE AZURE APP SERVICE LIGHT UP.APPLICATIONSETTINGS.YOU CAN NOW USE WEB — SIMPLE THINGS THAT YOU’RE USEDTO ENVIRONMENT VARIABLES.CONNECTION STREAMS.MANAGE — OR WHICHEVERMETHOD THATYOU WISH TO USE AND INJECT AT ONE TIME.THE ONE THAT I WAS ACTUALLY HOPING TO SHOW THERE WAS THAT WE’RE USING THE CONNECTION STRING OFF A THAT IS HOSTEDON AN ACI INSTANCE AND WE
CALL IN FROM ANOTHER SERVICE. THAT SITE ISNOT UP AND RUNNING.IT MAY BOPAND RUNNING WITHIN A FEW MINUTES.WE’LL TRY.>>ONE OF THE OTHER THINGS I WANTED TO COVER SIN STALLING INTOTHE GAC.HAVINGAN MSI OREXE HOW DO I EXECUTE THAT WITHIN MY CONTAINER.IT FOLLOWSTHE SAME PATTERN AS THE PREVIOUS.SOMETHING I EXPECT TO SEE A LOT WITH OUR CUSTOMERS. INTERNAL APPLICATIONSBUILDIN ASP. NET 2 .0 OR EARLIER AND CALLING INTO ACCESS DATABASE.I MANAGED TO SOLVE THIS ONE WAY.I’M — THIS MAY NOT THE SAME FOR
EVERYBODY,BUT THIS IS ONE WAY THAT I MANAGED TO SOLVE IT.WHAT I’M ACTUALLY DOING HERE IS I’M INSTALLING THEJET LIBRARY. SO LET’S GO TO THE ACCESS DATABASE SAMPLE.THE WEB UP IS SIMILAR EXCEPT IT’S JUSTA .NETTWO WHICH IS WHY YOU CAN SEE THERE’S LITTLE ELSE TO IT.A DEFAULT XPS.I HAVE — IN UPDATED.AND ALL I’M DOING HERE.SAME AS BEFORE.IS I’M DOINGA POLL FOR — FROM STORAGE.I’M GETTING REQUEST PULLING FROM
A STORAGE.THAT PARTICULAR EXE.AND I RUN IT.TO WANT MACHINE. YOU’LL SEE AND THE DOCKER FILE IS ARGUMENT/Q.FOR MOSTMSIS ANDEXES AND INSTALLED COMPONENTS,DATABASE CLIENTS OR COMPONENTS REACH THAT SORT OF THING.THEY WILL HAVE A SILENT INSTALLER.SO THE SILENT INSTALLER IS YOUR FRIEND IN CONTAINERS AND WINDOWS
SERVER CORE BECAUSE YOU WANT TO DO IT IN THE NONINTERACTIVE. YOU DON’T WANT TO DEAL WITH THEM BECAUSE THERE’S NO WAY OF DEALING WITH THEM.FINALLY THIS ONE ALSO POINTS OUT
ANOTHER THING YOU NEED TO DO.SOACCESS APPLICATION CERTAINLY WITH THE JET — I’M SHIPPING IT WITH.NEED TO ENABLE32-BIT ON THE APPLICATIONPOLL WITHIN IS.THAT IS INSIDE THE CONTAINER.THAT’S ANOTHER STEP THAT WE NEED
TO RUN ON THIS. SO AT THE BOTTOM CONFIGURE THE IS — SO HERE WE CANUSE APP COMMAND. AVAILABLEIN IS IN VERSIONSEVEN.TOP TIP,IF YOU NEED TO USE APP COMMAND TO DO ANYTHING,THE IAS MANAGER,WHEN YOU’RE GOING TO CONFIGURATION EDITING, HAS GOT A
TAB FOR THE SCRIPT.AND IT GIVES YOUTHE — IN C#.I THINK JAVA SCRIPT,POWERSHELL AND APP COMMAND. SO YOU CAN FIND OUT HOW TO DO THIS THING WHEN YOU NEED TO MODIFY ON A SERVERBUT TRYING TO
FIGURE OUT HOW — YOU CAN GENERATE THE COMMAND AND OFF YOUGO.>>THAT ONE.LET’S DIVE IN TO — TOO MANY WINDOWS.IN ADDITION OUR LINUXCODE YESTERDAY AND THEN –ACCESS– AZURE STORAGE TO WEB APP.SO ONE OF THE THINGS WE’VE BEEN ASKEDFOR FOR A LONG TIME IS I WANT TO ADD ADDITIONAL STORAGE TO MY WEB APP BUT YOU GUYS HAVE A LIMIT OF250 GIG OR WHATEVER.WHY CAN’T I JUST YOU’RE USE AZURE STORAGE. BY DELL E DEFAULT WEHAVEN’T STOP YOU THE NOW WE’LL
ADD AN ADDITIONAL DRIVE.ONE OF THE THINGS WE’VE DONE WE ANNOUNCED BRING YOURING OWN STORAGE AZURE APP SERVICE.WE HAVE THIS CAPABILITY ALREADY IN PLACE WITH AZURE FILES. NOT AZURE STORAGE.IF YOU WANT THE USE AZURE FILES WITHIN AZURE STORAGE MOUNTED DRIVE AND HOST CONTENT ON THAT,WHAT WE DO IS WE MOUNT THAT DRIVE WITHIN YOUR CONTAINER.SO THEREFORE WE CAN REACH OUT TO
THINGS LIKE DATABASE.IF YOU PUT YOUR DATABASE INSIDE YOUR CONTAINER,LIKE I DID INITIALLY.AND YOU SCALE IT OUT,THEN YOU JUST GOING TO GETREPUBLICLY KASS.YOU WILL — REPLICAS.PUTTING DATA IN A CONTAINER IN THAT MATTER WITH AN APPLICATION IS DANGER.HERE I’MPULLING IN DATA FILE FROM MY AZURE FILES.THAT’S QUITEA NEW FEATURE THAT WE HAVEJUST LAUNCHEDIN LINUX.>>ACCESS ONE WE’VE GONE TO.WE’VE DONE– GAC ASSEMBLIES ARETHE SAME AS BECAUSE YOU NEED TO PACKAGE YOUR GAC ASSEMBLY UP INMSI AND INSTALL AND EXECUTE.21 MINUTES.OKAY.>>LING NUX CONTAIN YOUR REMOTE ACCESS IS SSH.YOU CANSSH INTO THE CONTAINER AND WORK WITH IT.IN THE WINDOWS WORLD MOST ADMINS
ARE FAMILIAR WITH WINDOWS REMOTEMANAGEMENT.WE’VE ENABLED WINDOWS REMOTE MANAGEMENT WITHIN CONTAINERSAND
YOU DON’T NEED TODO ANYTHING IN
YOUR CONTAINER TO MAKE IT WORK.WE INJECTA MODULE AT ONE TIME AND WE’RE ABLE TO ENABLE DIRECTLY INTO THE CONTAINER.TODO THIS FAIRLY STRAIGHTFORWARDIT’S A TURN ON.THEN WE — LET ME SWITCH.SO INSIDE THE PORTAL YOU GO TO APPLICATION TO THE WIN RM BLADE.A CASE OF ON TO WIN RM.AND COPY OUT THE POWERSHELL. WE DO HAVEEXPERIMENTAL SUPPORTFOR THE POWERSHELL.I REALIZE I’M RUNNING OUTOF TIME HERE ON THE STUFF I DO — I
DON’T WANT TO SPEND TOO LONG WITH THIS. IF I CAN — OKAY.AND — WHAT THIS FUNCTION — ENABLES YOU TO COPYTHIS SNIPPET
OUT.ANDTHEN>> I’LL DO THAT.AT THE OWNEDIF — END IF I HAVE
TIME.THE ONECAVEAT WITH THE WIN RM STUFF.YOU HAVE TO RESTART THE SITE ONCE YOU ENABLE IT.IF IT’S SOMETHING YOU’RE INTERESTEDIN PLAYING UP RESTART ONCE THAT FLAG ISBEFORE YOU USE THE WINRM.WE ARE WORKING IN OUR BACKLOG.WE’RE WORKING ON BEING ABLETO DO THAT WITHOUT YOU HAVING TO RESTART THE SITE.BUT THAT’S THE WAY IT IS CURRENTLY.AND THAT’S VALUABLEFOR TROUBLESHOOTING,THINGS LIKE THAT.YOU MAY HAVE THINGS WORKING FINE
ON YOURLOCAL BEN BUT THEN YOU SEE A — BUT THEN YOU SEE A QUIRK — IF YOU NEED TO DIVE INTO THE CONTAINER AND LOOK AT APPLICATIONS SPECIFIC LOGGING OR
WHENEVER ELSE YOU HAVEN’T LOG SHIPPED OFFTO SOMEWHERE ELSE THAT GIVES YOU THAT CAPABILITY. TWEAK IS SETTINGS.THAT SORT OF THING. ANDNOW LET’S TRY AND DO THE– LET’S GO BACK TO THE DECK.LY JUST CLOSE DOWN A NUMBEROF THESETABS.I WILL I WILL GO THROUGH FULLCI — PIPELINE WITH
THEWEB CREATED EARLIER.SO LET’S GO BACKTO THIS ONE.WHAT I WANT TO DO IS ADD THE SOLUTION TO SOURCE CODE.SOURCE CONTROL.>>I DO APOLOGIZE.>>JUST DO MY TWO FACTORFA.>>I’VE GOT,HAVE I GOT ANY — IN THE AUDIENCE? NO.I DO HAVEA BLUE STYLE.HERE’S ONE I MADEEARLIER.ACTUALLY SOME OF THE CONTENT I’M
UP WITH NEXTIS VERY VALUABLE.>>I’M GOING TO DIVE OUT.THIS IS ONE OFMY AZURE DEVOPS. VY BEEN PRACTICING.AND SO IN HERE VY — HAVE A REPO.A SIMPLE WEB APPLICATION TO DOCKER.YOU CAN SEE THE CODE.I’M IN MY REPO.SIMPLE.WEB APP,TESTS. ALL IT IS ISANOTHER HELLOWORLD
SITE. I’VE COMMITTED MY SOURCE CODE UP INTO AZURE DEVOPS TO MY REPO.I BUILT A PIPELINE.IF WE EDIT THE BUILDHERE, WE CAN SEE THAT I’M JUST DOINGSTANDARD BUILD TASKS.BUILD SOLUTION.I WANT VISUAL STUDIO TO BUILD MY
PROJECT, RUN MY TESTS,PUBLISH MY DROP.IN THE KEY STEPS IN DOCKER CONTAINERS YOU NEED TWO STEPS.ONE IS TO BUILD THE CONTAINER AND THE SECOND IS TO PUSH.SO IN THIS INSTANCE I’M JUST DOING THE BUILD IMAGE.AND THEN A PUSH.AND I’MSETTING THAT TOUSE — LET’S MAKE A CHANGE.SET IT TO USE LATEST TAG ON BOTH.A LITTLE CONCERNED WHY IT’S NOT PULLING IN MY SUBSCRIPTION.LET’SMAKE SURE THAT’S GOOD.AND THERE WE GO.SAVE.AND THAT’S GOING TO BUILD ALL OF
MY CODE.RUN MY TESTS.BUILD MY CONTAINERS AND THEN PUSH THEM TO AZURE CONTAINER REGISTRY.NOW WHAT I COULD DO,I COULD GO IN AN CREATE A WEB APP.AND I’M GOING TOSHOW A DIFFERENT CREATION. SO YOU CAN NOW JUST GO AND CREATE A WEB APP.YOU DON’T HAVE TO GO THROUGH WEB
APP FOR CONTAINERS.LET’SDO IGNITE CICD.DEMO AND CHOOSE WINDOWS.CHOOSE DOCKER IMAGE.FOR THIS ONE I AM GOING TO CHOOSE THEPC FOUR I HAD EARLIER. I’MGOING TO CONFIGURE THE CONTAINER. THIS TIME I’M GOING TO USE ACR.THE DIFFERENCE IS I HAVEN’T GONE
THROUGH THE WEB APPS WHERE YOU ABELL GET CONTAINER OPTIONS I’VE
GONE THROUGH THE NEW WEB APP.THIS IS A NEW NOW FOR THE UX THAT WE’VE PUT IN PLACE THIS WEEK.SO FEEDBACK ISMORE THAN WELCOME.IF THERE’SEDGES THAT YOU DON’T LIKE,IFIT’S IN ANY WAY.ON THIS TAB YOU WILL SEE TWO OF THE OPTIONS.DOCKER COMPOSE AND — IN LINUX WE HAVE THE ABILITY FOR YOU TO DO A DOCKER COMPOSE FILE OR A —
JUST TO DESCRIBE YOUR APPLICATION TO DO MULTI CONTAINER DEPLOYMENTS. WE ONLY SUPPORT SINGLE CONTAINER DEPLOYMENTS TODAY.WILL DO TAG 69 MY ORIGINAL BUILD
AND APPLY THAT. WE CREATE.>>OKAY.SO THAT’S GOING AWAY.CREATING THE SITE AND DOING THEDOCKER PULL TO PULL THAT IMAGE DOWN.WHAT I ALSO WANT TO DO ON THAT APPLICATION.LET’S CHECK HOW THAT BUILD IS GOING.SO WE’RE WAITING ON THE BUILD AGENT.OKAY.SO WE’RE BUILDING.FINE.OKAY.WE’LL COME BACK AND CHECK ON THAT INA SECOND.SO WHAT I WANT TO DO NOW IS GO INTO — THERE WE GO.WE’VE GOT THE RESOURCE. CREATED THIS TIME.I’LL SHOW THE FLOW.WHEN YOU CREATE A WEB APP WITH A
CONTAINER,YOU WILL SEE THIS BLUE SCREEN.YOU’LLSEE WEB APPS STARTING UP.IT’S TO GIVE THE FEEDBACK THAT YOU’RE WAITING ON THEDOCKERPOLL. WHAT I WILL SHOW HERE ISTHE DEPLOYMENT SLOTS.I WANT TOGO INTO ADD I DON’T WANT TO CLONE THECONFIG.I DO WANT THAT IN PLACE.CREATE.RIGHT.AND NOW DEPLOYMENT SLOTS ARE BRAND NEW SITES. ANOTHER SITETHE APP SERVICE PLAN. WHAT I COK DO NOW IS — WHAT CAN I DO NOW IS I CAN CHOOSE IN THAT DEPLOYMENT SLOTTO PULL FROM CONTAINER REGISTRY OR SOMEWHERE ELSE.MAY BE PART OF YOUR BUILD PROCESS PUSH PRODUCTION IMAGES UP TOACR BUT PUT DEV TESTED OR– OR WHATEVER YOU WISH TO CHOOSE.FOR THIS WE’LL DO CONTAINER REGISTRY,ACR,AND JUST TO SHOW THAT THEYARE DIFFERENT I’M JUST
GOING TO DO CUSTOM FONT SAMPLE. AND I’M GOING TO CHOOSE LATEST.JUST TO SHOW THAT WE END UP WITH
TWO DIFFERENT IMAGES AND I’M GOING TO DO SAVE.I WILLGET TWO DIFFERENT SITES WITH TWODIFFERENT — PULLING FROM TWO DIFFERENT CONTAINERS AND SPIN UP AND BE READY FOR US IN A FEW MINUTES.IN ADDITION YOU MAY HAVE SEEN IN
THE UI THIS PIECE.WEB LOOK URL.IT’S IMPORTANT TO YOUWANT TO ENABLE CI ON THEACTUAL SLOTS ITSELF.SO THE WEB LOOK CAN BE REGISTERED TO YOUR CONTAPER REGISTRY FOR US TO BENOTIFY.AND THE SAME WEHAVE WEB LOOKS FOR YOUR SOURCE CONTROL OPTIONS IF YOU’RE DOING APP SERVICE WITH
CODE WE CAN DO THE SAME WITH CONTAINERS.THE URLWHEN YOUDO DOCKER HUB AND YOU CAN CONFIGURETHE WEB LOOK AND THE URL YOU NEED.IF YOU SET CONTINUOUS DEPLOYMENT
SET UP WITHAN ACR RESUPPOSITORY
WE CREATE THE WEB LOOKS FOR YOU ON THE BACK END OF THEYOU CAN CHANGE THE SCOPE SO YOU CAN SAY WELL,I DON’T WANT IT TO
TRIGGERON THE WHOLEREPOSITORY I WANT IT TOTRIGGER BASED ON THE IMAGE AND SO ON.THAT’S WHAT HAPPENS THERE.>>WE’RE STILL WAITING FOR THOSE.OKAY.WHILE WE’RE WAITING FER THOSE BECAUSE THEY TAKE A WHILE BECAUSE THEY ARE SERVER CORE CONTAINERS. I COULD HAVE CHEATED AN DONENANO AND THEY’RE TINY I WANTED TODO REAL LIFE EXAMPLES.WHATMEAN GOING TO DO IS FINISH THEREST OF THE SLIDES. THERE’S IMPORTANT INFORMATION I THINK IS VALUABLE.AND THEN COME BACK AND CLOSE OUT
THE DEMOS.IN THE NEXT FEW MINUTES AFTERWARDS.>>WHAT IS A CONTAINER AND WHY SHOULD YOU CARE?VIRTUALIZATION– HARDWARE VIRTUALIZATION.SET ON TYPE OF HYPERVISER OR OTHER EH — EQUIVALENT– IN VIRTUAL MACHINE AND MUMAL ET CETERA.THE IDEA OF CONTAINERS SYSTEM VIRTUALIZATION. SO THAT YOUR CONTAINERSSIT ON TOP OF THE KERNEL AND YOU HAVE MULTIPLE PROCESSESRUNNING OUTSIDE AND INSIDE THE CONTAINER.WINDOWS HAS TWO DIFFERENT OPTIONS.WINDOWS CONTAINERSAND HYPER-V CONTAINERS.WINDOWS SERVER CONTAINERS ARE MORE — THAT LINUX DOES CONTAINERS AND THEY RUN ON TOP OF A SHARED KERNEL.AND NEW CONTAINERSRUN ON TOP.THE DOWNSIDE TO USING THAT TYPE OF CONTAINER IS THEY DON’T GET THE SECURITY– THERE’S THE POTENTIAL — BECAUSE IT’S A SHARED KERNELTHE — NOISY NEIGHBOR TO EXPLOIT THE SHARED KERNEL ANDATTACK THE OTHER CONTAINERS.ANDIN ADDITION BECAUSE VERY MUCH NEED TO RUN ON THESHARED KERNEL THE CONTAINERSNEED TO BE BUILDING BLOCKS BUILT OFF THE SAME BASE IMAGE.SAME VERSION OFWINDOWS. THAT YOU WANT A NEW CONTAINER IN. WE RUN A VERSION OF WINDOWS IN AZURE THAT YOU WANT EASILY GET ACCESS TO.SO US TO CHOOSE THAT OPTION,REGARDLESS OF THE ISOLATION BOUNDARY,WOULD BEA BAD CHOICE.SO WE DIDN’T CHOOSE THAT.THE HYPER-V CONTAINERS ARE LARGER AND OVER HEAD HOWEVER THEY PROVIDE A DIFFERENT ISOLATION WHICH MEANS WE GET AWAY FROM THE SANDBOX RESTRICTIONS.AND THEY HAVE THEIR OWN — THEIR
OWNINSTANCE WEST THE KERNEL ITSELF.THEY RUN ON TOP OF HYPER-V.SO THAT’S KEY DIFFERENCE. WHEN YOU’RE RUNNING CONTAINERSIN AZURE APP SERVICE WHAT YOU’RE
ACTUALLY RUNNING THE HYPER-V CONTAINER WITHIN AZURE APP SERVICE.WHY THIS IS IMPORTANT. ICAN’T STAND SEEING THE HIPPING — SHIPPING CONTAINERS WHEN WE TALK ABOUT CONTAINERS.I GO AND SEE THEM ON THE BACK OFA SHIP THAT’S WRITE WANT TO SEE THEM.THAT’S WHERE I WANT TO SEE THEM.I THINK ABOUT A THE UPPER AWARE BOX BUTTHE—- APPLICATION LAYERS AND THIS WILL
BE COMMON.YOU BELOW THAT YOU’VE GOT YOUR BASE OS.CALL OUTAGAIN.WE SUPPORT THOSE VERSION.WE ARE LOOKING A ATHOW WE CAN GET TO BE ABLE TO SUPPORT THE NEWER ONES.AND SO THEREFOREREDUCE THE CONTAINER SIZE.WE’RE NOT QUITE THERE YET.WE ARE A VERY BIG SERVICE. SO IT TAKES TIME TO MAKE CHANGES. THE LAYERSARE VERY,VERY IMPORTANT. YOU MAY HAVE SEEN POP UPTHE DESK PROMPT WHEN IT WAS BUILDING
THE CONTAINER AND THE DIFFERENT LAYERS. I HAD ABOUT 13DIFFERENT LAYERS.THIS IS WHY IT’S IMPORTANT WHEN I WENT THROUGH THE DELETEDEPENDENCIES FOLDER. YOU DON’T WANT ADDITIONAL LAYERS IF YOU CAN HELP IT.EVERY ADD COMMAND IS BUILDING ANOTHER LAYER.IF YOU CAN COMBINE THEM ALL LIKE
POWERSHELL ANDJUST RUN ONE COMMAND,THEN THAT’S THE WAY TO GO FORWARD INSIDE.THE OTHER STEP YOU CAN GO THROUGH,WHICH I DIDN’T GO DEEP INTO WITH THIS ONE.IT’S ALSO MULTI STAGE CONTAINER BUILDS.SO YOU CAN BUILDA DOCKER FILE THATMULTI STAGE AND THAT IN A SMALLER IMAGE AS WELL.BEST PRACTICES. THESE ARE THINGS I’VE LEARNED AS I’VEBEEN LEARNING WITH WINDOWS COIN TANERS.– THE REASON I LOVE BEING IN TECH AND DEVELOPMENT IS EVERYDAY IS A SCHOOL DAY.EVERYDAY I’M GETTING ON
SOMETHING THEW AND BETTER TO DO.THIS IS WHAT I’VE GAINED BASED ON OUR DOCUMENTATION.SO CHOOSE YOUR BASE IMAGE CAREFULLY.YOU ARE STILL –AS SOON AS WE STAND UP A NEW WORKER — WE DO PULL THESE CASHED IMAGES AND — CACHED IMAGESAND REFRESH. LAYERS.– MINIMIZE THE IMAGE LAYERS. DON’T PUT ADDITIONAL THINGS,STEPS YOU DON’T NEED.IF YOU DO WORK WITH DEPENDENCIES,INSTALL THEM AND GET RID OF THEM.YOU DON’T NEED THEM. YOU CAN LABEL EACH LAYER TO SEE WHAT IS GOING ON WHEN YOU DO A DOCKER BUILD.?SUMMARY BECAUSE I HAVE THREE MINUTES LEFT.WINDOWS CONTAINER SUPPORT IN AZURE APP SERVICE IN PUBLIC PREVIEW E SITED TO SEEWHAT CUSTOMERS DO. PUSH US AS FAR AS YOU CAN.WE ARE VERY TRAFFIC IN YOUR FEEDBACK.DOES IT SOLVE YOUR PROBLEMS?IS IT THE RIGHT POINT?ANY FEATURES THAT YOU NEED?PARTICULARLY OUT OF THE APP SERVICE.WHICH ONES AREWE WE ARE V NET SUPPORT.MSI.WE ARE HEARING THAT LOUD AND CLEAR.OFFERS NEWMIGRATION POSSIBILITIESAND– SINGLE CONTAINERS. DEPLOYMENT SLOTS.CICD SOYOU CAN PUBLISH AND CON FIGURE A WEB LOOK AND GETA NEW BADGE YOU TELL USFOP AUTOMATICALLYYOU DON’T NEED THE CHANGE THE SETTINGS.WE’VE GOT INTEGRATION WITH VSTS PIPELINES.THE ONE HICCUP THAT WE HAVETHE RELEASE TASK IT HAS TO PUBLISHFOR WEB APP CONTAINERS ONLY SUPPORTSWITH LINUX AND WE’LL WORK WITH THE DEVOPS TEAM TO GET THAT GOING SOON.BEING ABLE TO NOT HAVE TO WORRY ABOUTAUTHENTICATION AT YOUR APPLICATIONLAIR.SO BEING ABLE TO SPINUP AUTHENTICATION,BUGLE, TWITTER.OFF YOU GO WITH A COUPLE CLICKS INSIDE.SCALE.WE ARE GLOBAL. SIX STAMPS SOME OF THOSE AREAS WE’VE ADDED TWOAND WE’VE GOT MORE REGIONS.>>NOW YOU HAVE NEW CHOICES,OPTIONS CONTAINER APPLICATION COME ALONG AND TAKEA REAL LOOK AT APP SERVICE AND VALUE.– I’MPASSIONATE ABOUT THIS PRODUCT AND I THINK IT SOLVES A LOT OFPROBLEMS– REALLY POWERFUL AND FUN TO WORK ON.I HAVEGOT SOME TIMEFOR QA AND ALSO GOING TO BE ON THE BOOTH ALL WEEK I WILL BE BACK HERE FOR
A FEW MINUTES.I WILL GETOFF THE STAGE FOR FOR
THE FOR THE NEXT SPEAKER.CHECK OUT SOME OF THE APP SERVICESESSIONS IGNITE THIS WEEK.THE ONE YESTERDAY BEST PRACTICES
ON GETTING THE BEST OUT OF APPSERVICE — PLEASE CHECK OUT THE RECORDING.MY COLLEAGUECHRISTIAN HAS BEEN TALKING ABOUT– VALUABLE SESSION.IF YOU HAVE TIME THAT OUT ON THE RECORDINGS.AT 4:00MY COLLEAGUE JENNIFER IS
GOING THROUGH DIAGNOSTICS AND AZURE APPS WHICH IS ANOTHER VALUABLESERVICE — SESSION.THANK YOU FOR YOUR TIME.I HOPE YOU FOUND IT VALUABLE.I WELCOME YOU FEEDBACK. THROUGHEVALUATIONS ANY QUESTIONS I’LL TAKE THEM BEFORE I GO OTHERWISE SEE ME AT THE BOOTH.AND THANK YOU

Leave a Reply

Your email address will not be published. Required fields are marked *