24x7x365 Entisys360 Client Technical Support: Call (877) 368-4797 opt 9, or

As part of our ongoing series about leveraging cloud native tools for managing cloud-based VDI workloads, this blog will focus on delivering applications using AWS Systems Manager.

AWS Systems Manager is a secure end-to-end management solution for hybrid cloud environments.

Here are some of the use cases for AWS Systems Manager.

  • Centralize operational data. Aggregate data in a single console and gain actionable insights across AWS services such as Amazon CloudWatchAWS CloudTrail, and AWS Config, as well as third-party tools.
  • Automatically resolve application issues. Leverage operational data to easily manage applications and identify issues quickly across associated AWS resource groups.
  • Implement best practices. Automate proactive processes such as patching and resource changes—as well as reactive processes—to quickly diagnose and remediate operational issues before they affect users.
  • Remediate security events. Adapt your security and compliance profile and analyze security events after-the-fact to prevent a future re-occurrence.

(Big thanks to Troy Couch – Associate Director, EUC here at Entisys360 for the technical content below!)

Requirements

  • This blog assumes you already deployed AWS WorkSpaces and have integrated Amazon CloudTrail and AWS CloudWatch
  • NotePad++  is available on GItHub
  • A secured S3 bucket for storing the application package
  1. Browse to Services > Systems Manager
  2. Select Node Management > Hybrid Activations
    Click Create an Activation
  3. Enter a description
    Enter instance limit
    Select Create a System Default Command…
    Enter default instance name
    Click Create Activation

  4. Copy Activation Code and Application ID in a temporary document for later use
  5. View Activation details in Systems Manager
  6. Logon to WorkSpaces and launch desktop
  7. Open PowerShell and select Run as Administrator
  8. Copy the following PowerShell commands to NotePad$code = “activation-code
    $id = “activation-id
    $region = “region
    $dir = $env:TEMP + “\ssm”
    New-Item -ItemType directory -Path $dir -Force
    cd $dir
    (New-Object System.Net.WebClient).DownloadFile(“https://amazon-ssm-$region.s3.amazonaws.com/latest/windows_amd64/AmazonSSMAgentSetup.exe”, $dir + “\AmazonSSMAgentSetup.exe”)
    Start-Process .\AmazonSSMAgentSetup.exe -ArgumentList @(“/q”, “/log”, “install.log”, “CODE=$code”, “ID=$id”, “REGION=$region”) -Wait
    Get-Content ($env:ProgramData + “\Amazon\SSM\InstanceData\registration”)
    Get-Service -Name “AmazonSSMAgent”
  9. Edit activation-code, activation-id and region (e.g. us-west-2) variables.
  10. Copy and Paste commands into PowerShell
  11. Confirm successful SSM Agent activation
  12. Logoff WorkSpaces and return to AWS Console
  13. Select Services > Systems Manager > Run a Command.
    Click Run a Command
  14. Select the AWS-RunPowerShellScript document.
  15. Copy the following text to deploy NotePad++
    function Install-Npp ($source = ($env:TEMP + “\SW”))
    {
    If (!(Test-Path -Path $source -PathType Container)) {New-Item -Path $source -ItemType Directory | Out-Null}$packages = @(@{title=’Notepad++ 7.8.6′;url=’https://github.com/notepad-plus-plus/notepad-plus-plus/releases/download/v7.8.6/npp.7.8.6.Installer.exe’;Arguments=’ /Q /S’;Destination=$source})[Net.ServicePointManager]::SecurityProtocol = [Net.SecurityProtocolType]::Tls12foreach ($package in $packages) {
    $packageName = $package.title
    $fileName = Split-Path $package.url -Leaf
    $destinationPath = $package.Destination + “\” + $fileNameIf (!(Test-Path -Path $destinationPath -PathType Leaf)) {
    Write-Host “Downloading $packageName”
    $webClient = New-Object System.Net.WebClient
    $webClient.DownloadFile($package.url,$destinationPath)
    }}foreach ($package in $packages) {
    $packageName = $package.title
    $fileName = Split-Path $package.url -Leaf
    $destinationPath = $package.Destination + “\” + $fileName
    $Arguments = $package.Arguments
    Write-Output “Installing $packageName”
    Invoke-Expression -Command “$destinationPath $Arguments”
    }}
    Install-Npp
  16. Under Commands, paste the copied text above for NotePad++ installation
  17. Select Choose instances manually
    Select the registered WorkSpaces Agent(s)
    Check Enable an S3 bucket
    Choose an S3 bucket name from the list
    Check Enable CloudWatch logs
    Click Run

  18. Command will be executed and be complete within 5-10 minutes
  19. Confirm Success in the Console
  20. Logon to WorkSpaces and launch desktop
  21. Open Start Menu and check for NotePad++
  22. Open NotePad++
  23. NotePad++ works!

Now you can leverage the cloud native AWS Systems Manager to create more application packages.

Please contact Entisys360 or your Entisys360 Account Executive, if you would like to learn more about integrating AWS WorkSpaces with other AWS services for a more cloud native VDI deployment.

Our Expertise

Security and Cyber Risk Services

Creating a strategy for managing risk and compliance, while helping to filter the noise of myriad cybersecurity technologies.

Automation and Cloud

Accelerating IT service delivery for our clients through the adoption of agile methodologies that are all part of a systems-oriented approach.

End User Computing

Helping businesses keep infrastructure uptodate, minimizing security risks, and maintaining compliance

Software Defined Data Center

Empowering your enterprise to achieve its full potentialand greatest efficiencyby keeping IT infrastructure operational, available and secure.

Core Infrastructure Services

Offering design, implementation, licensing optimization, and environmental services to ensure the use of Microsoft’s best practices and configurations.

Microsoft Expertise

Helping set goals and establishing benchmarks for the journey toward the successful deployment of Microsoft solutions.

Our Services

Professional
Services

Enjoy a stressfree implementation that comes through the knowledge and experience of our professional services team.

Enterprise
Managed Services

Align your business initiatives with evolving industry trends to obtain a clear understanding of the impact of future technologies.

Cloud Strategy
and Services

Meeting a diverse range of business requirements through deployments that are flexible, scalable, and have the right mix of elements.

Contract
Management

Never miss another maintenance or warranty contract renewal date or pay for unused maintenance contracts or warranties.

Project
Management

Through this service, our project management team takes the lead role in planning, executing, monitoring and closing projects.

Our Markets and Market Support Vehicles

Business

Professional services and nationallyrecognized expertise that align perfectly with the trends and challenges facing a variety of industries.

Healthcare

Recognizing the unique challenges faced by healthcare IT organizations, and offering understanding, capabilities, and trusted relationships.

Public Sector

Helping organizations contain costs maintain high availability while finding new ways to increase security, compliance and more.

Group Purchasing

Industryleading IT consulting services and technology solutionsaccessed through a streamlined contracting process.

Resources

Events

Learn about our upcoming events and webinars.

Solutions Literature

Accesstodownloadable assets with information on solutions and services offerings.

Blog

Gain expert technical insights around today’s leading enterprise technologies and solutions.

Press Releases

Read news and updates from the Entisys360 team.

News Stories

Learn about new developments with Entisys360 and our team.

About Entisys360

About Entisys360

Our mission, vision, leadership and team

Accolades

Notable industry awards and recognition

Privacy

Entisys360’s and its commitment to privacy

Community

Our commitment to the community

Careers

Entisys360 Career opportunities

Contact Us

Entisys360 locations and contact resources