[Music]
hello everybody thank you for tuning in
my name is Lawton I work for Amazon Web
Services I'm a senior solution architect
working with our partner team and I'll
be talking to you today about CD CI
pipelines for dotnet applications in
code star so what's so special about
coaster we'll get onto it in just a
second first things first we just
published a dotnet core chat pod
application so if you look at the link
in the middle of the screen please go to
it you will see a data application that
we built that takes advantage of Amazon
lakhs which is Alexa service or Alexa
uses it AWS lambda Amazon could need to
identity service and and in with all of
that it actually allows you to either
use your github or use code commit which
is basically our kit if you're not
familiar with it
and then use our services like code
pipeline to orchestrate all of that with
code deploy and code build as part of
that orchestration and so what is code
star well all of these things that I've
mentioned early on these are all stages
in development that they start off from
source to build to test and deploy and
what does code star do is simplify as
all of this it pre creates this entire
pipeline for you based on just few
things and just you just need to let it
really know where your source code is
and few other parameters it also teaches
you through the stage of actually using
it on how to configure it how to
configure each of the services for for
the CDC I pipeline itself as well as how
to configure your development
environment it manages software
development in and delivery itself in
one place
it works across your team securely
and you can choose from variety of
project templates that are available for
you and I will show you that in a demo
shortly so what does it look like once
everything is created well basically it
creates once again a code pipeline which
is our crustacean tool
it takes advantage of either github or
code commit then it uses code build for
actual building of the application as
well as testing the application and then
users code the code deploy to go ahead
and deploy all of that now I'm going to
show you a demo on how very easily you
can configure all of this specifically
for dotnet web applications but you also
see a template for dotnet Web Services
and we'll see how end-to-end we're going
to create an application and deploy it
and bear in mind that you can just
substitute your own code in this case
and deploy your own code the same way
through all of our services you'll be
able to integrate into JIRA integrate in
besides integrating into all of our
services and github you'll be able to
see all of that in a unified dashboard
right in front of you so now I'm going
to show you how to use code star one of
the things to note is you need to make
sure that you are logged in using an IM
user the Federation does not work in
case of using things like code commit
and so on so to make sure that you are
logged in as I am user when you do this
so we will go to code star here we go
we'll type it into search and it's going
to show us a whole bunch so let's see
all the cool things we can do with
co-star how it can simplify what we've
been using so far you can we can select
here with one c-sharp is Ashish going to
show us the the templates project
templates for dotnet projects
specifically so there's the web
application and web service for for the
purposes of this demo we're going to go
with
the webservice and then here we're going
to give it a project name which is I
guess we can call it star project and
then code commits we're gonna stick to
code comment or we can choose github and
here it tells us basically what it's
going to do it's going to build a entire
pipeline through with code pipe on
itself with source being the AWS code
commit build being a WS code build and
test then deployment via WS code deploy
and then monitoring down by Amazon
CloudWatch and so we are about to
abdicate our power to the AWS code star
by saying hey go ahead and have the
permissions to administer our resources
on our behalf and create all of this
good stuff for us one thing to note is
that you can go ahead and you can edit
which instance is being used which
subnet and V PC is a specific one so
we're just going to stick to the default
in this case we're going to use a key
pair you're going to say hey we
acknowledge this remember your keeper
you need it if you need to access your
ec2 instance the instance where your
code is going to be deployed so the next
bit is you can use different IDs and you
can either use command line tools which
is you know a go-to for a lot of us
eclipse or in our case Visual Studio but
let's not forget also AWS cloud 9 which
is new in browser IDE or cloud IDE
it's great it's I will be using it I
really implore you to check it out
if you have a chance so if I click on it
I can go ahead and see instructions and
you can see here step-by-step
instructions on how to setup AWS toolkit
for visual studio so we can assume that
we've done that and we're going to skip
over
and and then we're going to actually
take a look at what's going on here
so what's going on is that our project
is being set up as we speak so as you
can see the project was successfully
created we have an option to connect to
the IDE which I showed you early on to
confirm that we are connected a couple
of other things we do have the cloud 9
environment if you wish to use it you
can actually take that off you can see
that our source right now is is in
progress it's taking code out of code
commit pushing it into code build which
is in progress if it's successful it
will actually deploy the application
using code deploy shortly afterwards it
will also show you here the application
activity it will show you the commit
history in the code commit and it will
allow you to integrate into JIRA right
which is great you know in order to have
kind of complete dashboard environment
here you can see you can either click on
the IDE you can do it go to the source
code which is code where the source code
is store do not get repository called
commit build deploy and the pipeline
itself so--but literally if I was to
differ if I was to click on anything it
will take me directly to called pipeline
in this case or to code commit or build
and it will show me the actual build
that is being in progress I will see the
output logs and here it's actually
showing me all of the things that are
being all the requirements are being
installed the prerequisites as well as
the code that is being deployed you can
add your entire project team here you
can add a team member or you can also
add several different extensions here
you can see that we have github and JIRA
and look out for more extensions that
we're going to be adding on as you know
me in next several months
and as you can see the build has
succeeded
now we are in application deployment
stage now it's in the code deploy if you
actually click on the code deploy I will
see it that it's under progress here
we'll see the revision that we just
created for the new code deploy and if
anything was to happen we'll be able to
examine the logs for it as well and as
you can see the deployment succeeded and
when it actually deploys it actually
adds a application end point here and we
can click through the application end
point and you'll see congratulations you
just create an asp.net core web
application this is how you use code
star to create the entire C DCI pipeline
dashboard and deploy application from a
beginning to an end thank you very much
I hope you enjoy what I had to show you
[Music]