Building a high-performance remote desktop with CentOS 8 Stream on Amazon EC2
CentOS Dojo Oct - 2021
@davdunc
David Duncan— Partner Solutions Architect
Personal Introduction
About Me
I am:
I enjoy:
David Duncan
Motivation
Precedence
Building Blocks
CentOS Stream 8
The Nice-DCV application for VDI
Nice-DCV is free to use when it is used on Amazon EC2 Instances
Targeting an Instance Type
Accelerated Computing
General Purpose
Compute Optimized
Storage Optimized
Memory Optimized
build AMIs for each of these solutions as needed.
Amazon Elastic Compute Cloud (Amazon EC2)
The EC2 Image Builder
A Pipeline for building AMIs and Container Images
us-east-1
Git Repository or Version Control
Amazon EC2 Image Builder
Relevant change set
documents
Alarm
Instance
AMI
af-south-1
us-east-2
us-west-2
The Parts of an Image Builder Pipeline
Pipelines have Image recipes
Image Recipes have Components
Image Recipes Build AMIs and use Distribution Configurations
Distribution Configurations
Requires the SSM Agent
#cloud-config
packages:
- python3
runcmd:
- ['sudo', 'dnf', 'install', '-y', 'https://s3.amazonaws.com/ec2-downloads-windows/SSMAgent/latest/linux_amd64/amazon-ssm-agent.rpm']
- ['sudo', 'systemctl', 'enable', 'amazon-ssm-agent']
- ['sudo', 'systemctl', 'start', 'amazon-ssm-agent']
This is part of the Image Recipe
Nice-DCV isn’t free as in freedom. It’s free as in beer when you use it on Amazon EC2.
Let’s Review it in the Console
Questions?
https://github.com/davdunc/centos-with-nice-dcv