Celidor
  • Blog
  • About
  • People
  • News
  • TALKS
  • Contact

Building a cloud security training platform

11/6/2019

0 Comments

 

Part 5: counting the cost

Picture
My 44CON Cloud Security and DevSecOps training course this September includes AWS, Azure and GitHub accounts which the students use so they don’t need to create their own. As I described in Part 1, I also decided to build a training platform, so that students can connect to a virtual desktop in the cloud with all the software they need pre-installed.

That way they can come on to the course with any laptop or even tablet which supports the Amazon WorkSpaces client.

I built the supporting infrastructure in AWS using Terraform which you can read about in Part 2 of my blog, and then scripted user setup across all environments as described in Part 3. And as you might expect, I incorporated lots of security features, and wrote about them in Part 4.
 
In this last blog of the series, you’ll hear about a lost USB key, the bill, feedback to Amazon and their response. Click on the "Read More" link below to view.

A lost USB key

The last time I delivered the Cloud Security and DevSecOps course, I copied the course materials on to a USB key, and handed it to one of the students to pass it round the class.
 
You can guess what happened – I never got it back …   
 
I decided I should come up with a better solution – perhaps something which doesn’t risk spreading viruses, and demonstrates cloud security at the same time. I created some terraform code to deploy S3 buckets in Amazon, enabling security features such as encryption at rest and logging. I found some useful open source code on GitHub for a Javascript index.html file which dynamically creates a folder view of files uploaded to S3. Then I uploaded the course materials via the AWS Console so that students can download to their laptop during the course.
Picture
​I included a bucket policy in the Terraform code to only allow access from authorised IP addresses – here’s what happens if you’re not allowed:
Picture

The bill

​All good meals at a restaurant end with a bill – unless you run off without paying of course – and training courses in cloud environments usually result in a bill at the end of the month. Especially in this case where I provide all the cloud accounts, so students don’t need to spend time and money setting them up. 
Picture
In this case there are the costs of doing the labs – estimated at around £20 per student, and the costs of the Windows and Linux virtual desktops which for a 3 day course I reckon will be about £30 per student, so all in all £50 per student. That’s only if I remember to run all the delete scripts immediately after the course has finished – note to self, I must not forget!

Feedback to Amazon

During my setup and testing of the cloud security training platform, I encountered some issues and current limitations of the Amazon WorkSpaces service:
 
  • There’s no API to register or deregister AWS Directory Services with Amazon WorkSpaces – resulting in a manual step which right now can’t be automated
  • I can’t copy an Amazon WorkSpaces image from one region to another – so if I want to deliver the training course in another region, this would require considerable rework and the resulting image may well be inconsistent
  • Pricing of the monthly fee element of Amazon WorkSpaces isn’t pro-rata – so I’m charged for a full month even if the course is only 3 days
 
I did a bit of research and found out the name of the Amazon WorkSpaces General Manager, Nathan, and sent him an email with these comments – along with some compliments on the general maturity of the service.

Amazon's response

​I was impressed that Nathan got back to me with a considered reply, and broadened the discussion to Kajal of the Amazon WorkSpaces product management team:
“This is all very valuable and thoughtful feedback”
“The asks for APIs for registering directories, and copy AMI across regions are very much on the radar”
​I’m providing more information to them on the pricing issue – which has come to light as a consequence of the way I’m using Amazon WorkSpaces, with automation and a short build and destroy cycle.
 
Anyway, it’s nice to see that AWS listen to their small customers as well as large enterprises.

And finally ...

I hope you found this last blog of the series interesting and informative. Attendees of the 44CON Cloud Security and DevSecOps Workshop last week used the platform with great results. They certainly appreciated not having to install complex software on their own laptops.

Students will be using the platform on the 44CON Cloud Security and DevSecOps training course this September - now a 3 day course with the addition of GCP and 4 extra labs.
0 Comments

Your comment will be posted after it is approved.


Leave a Reply.

    Author

    Paul Schwarzenberger is a Cloud Security Architect and Engineer

    Archives

    April 2025
    March 2025
    October 2024
    September 2024
    August 2024
    July 2024
    May 2024
    March 2024
    October 2023
    September 2023
    February 2023
    January 2023
    December 2022
    August 2022
    July 2022
    June 2022
    May 2022
    April 2022
    March 2022
    January 2022
    November 2021
    September 2021
    July 2021
    March 2021
    July 2020
    June 2020
    February 2020
    December 2019
    November 2019
    October 2019
    June 2019
    May 2019
    April 2019
    March 2019
    February 2019
    January 2019
    November 2018
    October 2018
    September 2018
    August 2018

    Categories

    All
    Cloud Security
    DevSecOps

    RSS Feed


Contact us via email at [email protected] 

© 2020 Celidor Limited. All Rights Reserved.

Celidor Limited

Company Number: 08870661


  • Blog
  • About
  • People
  • News
  • TALKS
  • Contact