[Music]
hello I am Alessandro a cloud Support
Engineer here at the AWS office in
Dublin
sometimes customer asked me how do I
attach and use an elastic GPU to my
Windows ec2 instance I tell them they
can achieve this by using the quick
launch wizard in the AWS management
console let's get started and see how to
perform the required steps in order to
launch your ec2 windows instance with
the elastic GP 2 you need to login into
the AWS console go to all services and
choose the ec2 service
then from here you will click on the
launch instance to start the quick
launch wizard
you should choose the image for the
supported operating system that
currently are Windows Server 2012 r2 and
Windows Server 2016 for this example we
will use the 2016 base image you can
choose among the support the instance
type for this example I will go for an
m5 x-large instance type then step 3 is
the most important one as you can see at
the bottom of the page you can check the
box for the elasti GPU and you can have
four different elastic cpu type t eg one
medium with one gigabyte of memory the
eg one large with two gigabyte the eg 1x
large with 4 gigabyte and the eg one 2x
large with a gigabyte of RAM as you can
see from the tip here at the bottom you
will need an additional configuration in
order to correctly run the elastic GPU
you can open the link here in order to
get more information regarding the
elastic GPU and the charges related to
it here you can see what an elastic GPU
is the supported instance type the 4
different elastic GPU sizes and what's
happening in the background so your ec2
instance that will be connected through
an elastic network interface to the
elastic GPU on the backend and the
current elastic GPU limitation regarding
the pricing you can see that you will
get an additional Harley fee depending
on the AWS region n on the elastic GPU
sides coming back to the console we can
go to the next step we leave the default
storage option we don't need to add text
for the specific example and then step 6
again is another one very important you
can create a new security group or
select an existing security group
anyway you will need to have an inbound
rule for TCP port 2007 in order to have
the elastic GPU properly work but if you
forgot to add the rule we will do
automatically for you
for example let's create the RDP access
rule only from our current IP and
proceed with the wizard
we reviewed the information before the
lunch we can see that the elastic GPU is
there with a gigabyte of RAM in this
case and lunch we can use an existing
key pair or a previous one and we launch
the instance
selecting the instance ID we will go to
the ec2 console selecting the instance
in the description tab at the bottom you
will find the elastic GPU ID the elastic
GPU type and the elastic GPU status will
be unknown until the status check of the
instance will be okay and the OS will be
available as you can see now status
check our past okay and this may take a
few minutes for me it took about five
minutes refreshing the page you will see
that the elastic GPU State will move to
okay if we check the security group
rules you will see that for 2007 was
automatically added we can check this
going to the security group opening a
new tab
checking the inbound rule we will see
the same for TCP 2007 is added from
self-referencing security group with
description elastic GPU if we move to
the network interface on the left menu
you will see that a new elastic GPU
interface was created in the same subnet
and VPC of the ec2 instance one if you
select it and try to the touch or force
the touch it you won't be able to you
will get an error saying that you don't
have permission to access the specified
resources this will happen even if you
are logged in with your root account or
with an I am admin user this is because
the elastic GPU life is tied to instance
life it can be attached only at interest
ranch and it is released at the instance
termination now we are going to connect
by RDP to an already existing ec2
instance with elastic CPU connected we
are now connected by RDP to Windows ec2
instance with the elastic GPU connected
and you can see the status of the
elastic GP
in the notification are at the bottom
right of the screen if you double click
it it will open the elastic GPU manager
and show the manager version and the
opengl library and the directory version
here at bottom you will see the elastic
GPU health status this may turn yellow
or red in case of issue in control panel
program and feature you can see again
the same detail for the elastic GPU
software if you want to check the status
of the elastic GPU using the AWS CLI you
can open a command prompt window move to
C program file Amazon ec2 elastic GPUs
manager and type eg CLI press enter and
you will get an output with the elastic
GPU ID the elastic GPU type the software
version installed and the status in
order to check the OpenGL extension
supported I will suggest you to install
and use this application OpenGL
extension viewer
in the application window if you go to
GL report you will see all the versions
supported currently up to 4.3 and all
the OpenGL API call and if you want run
a render test you can choose one among
all the versions supported let's go for
the 4.3
thanks for watching and help
computing from all of us here at AWS
[Music]