<?xml version="1.0" encoding="UTF-8"?><rss xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:atom="http://www.w3.org/2005/Atom" version="2.0" xmlns:cc="http://cyber.law.harvard.edu/rss/creativeCommonsRssModule.html">
    <channel>
        <title><![CDATA[Stories by Cevo Australia on Medium]]></title>
        <description><![CDATA[Stories by Cevo Australia on Medium]]></description>
        <link>https://medium.com/@CevoAustralia?source=rss-ddcd75d9a6a9------2</link>
        <image>
            <url>https://cdn-images-1.medium.com/fit/c/150/150/2*AY3he87X_sITPpV9c6JJ_Q.jpeg</url>
            <title>Stories by Cevo Australia on Medium</title>
            <link>https://medium.com/@CevoAustralia?source=rss-ddcd75d9a6a9------2</link>
        </image>
        <generator>Medium</generator>
        <lastBuildDate>Wed, 02 Dec 2026 08:50:40 GMT</lastBuildDate>
        <atom:link href="https://medium.com/@CevoAustralia/feed" rel="self" type="application/rss+xml"/>
        <webMaster><![CDATA[yourfriends@medium.com]]></webMaster>
        <atom:link href="http://medium.superfeedr.com/" rel="hub"/>
        <item>
            <title><![CDATA[REMOTING INTO EC2S WITH SSM SESSION MANAGER]]></title>
            <link>https://medium.com/@CevoAustralia/remoting-into-ec2s-with-ssm-session-manager-9ef6f6feb46c?source=rss-ddcd75d9a6a9------2</link>
            <guid isPermaLink="false">https://medium.com/p/9ef6f6feb46c</guid>
            <category><![CDATA[data-security]]></category>
            <category><![CDATA[ec2]]></category>
            <category><![CDATA[linux]]></category>
            <category><![CDATA[devops]]></category>
            <category><![CDATA[aws]]></category>
            <dc:creator><![CDATA[Cevo Australia]]></dc:creator>
            <pubDate>Tue, 01 Sep 2020 01:40:59 GMT</pubDate>
            <atom:updated>2020-09-01T01:40:59.183Z</atom:updated>
            <content:encoded><![CDATA[<p>By Jason Keane, August 25, 2020</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/820/0*UX_5X-8sfyKC65C0.png" /></figure><h3>THE CHALLENGE WITH EC2 REMOTE CONTROL WITH SSH AND RDP</h3><p>One common challenge when working in highly secure environments is remoting into servers from external and internal sources.</p><p>Some security requirements, whether it being from security teams or compliance regulatory bodies, can make it difficult to find the right kind of balance between ease of use and protecting sensitive data.</p><h3>ENTER SSM SESSION MANAGER</h3><p>Simple Systems Manager (SSM) in AWS has a feature called Session Manager, which allows you to remote into EC2 instances on Windows and Linux command line through the browser.</p><p>Benefits include</p><ul><li>Removing the need to create bastion (“jump”) boxes to remote into internal servers, saving money on EC2 costs and general server maintenance.</li><li>Having AWS Console Multi Factor Authentication (MFA) as an extra security measure without the need to configure extra MFA applications into remote EC2 instances</li><li>Ability to integrate AWS monitoring services such as CloudWatch Events and CloudTrail to seamlessly record and monitor remote user access to identify unusual or unauthorised access</li><li>Leveraging the strength of IAM security policies to ensure remote users can only remote into the EC2 instances they should. This removes any need for local user accounts on servers.</li></ul><h3>INSTALLATION</h3><p>To run SSM Session Manager, you will need to have the SSMAgent installed. If you are using an Amazon Linux AMI, this agent is already built in.</p><p>However for any other AMI type:</p><p>REDHAT:</p><p>sudo yum install -y<br><a href="https://s3.amazonaws.com/ec2-downloads-windows/SSMAgent/latest/linux_amd64/amazon-ssm-agent.rpm">https://s3.amazonaws.com/ec2-downloads-windows/SSMAgent/latest/linux_amd64/amazon-ssm-agent.rpm</a></p><p>sudo systemctl start amazon-ssm-agent</p><p>UBUNTU:</p><p>wget<br><a href="https://s3.amazonaws.com/ec2-downloads-windows/SSMAgent/latest/debian_amd64/amazon-ssm-agent.deb">https://s3.amazonaws.com/ec2-downloads-windows/SSMAgent/latest/debian_amd64/amazon-ssm-agent.deb</a></p><p>sudo dpkg -i amazon-ssm-agent.deb<br>sudo systemctl status amazon-ssm-agent</p><p>WINDOWS POWERSHELL:</p><p>Invoke-WebRequest<br>https://s3.amazonaws.com/ec2-downloads-windows/SSMAgent/latest/windows_amd64/AmazonSSMAgentSetup.exe<br>-OutFile $env:USERPROFILE\Desktop\SSMAgent_latest.exe</p><p>Start-Process `-FilePath $env:USERPROFILE\Desktop\SSMAgent_latest.exe<br>` -ArgumentList &quot;/S&quot;M</p><h3>IAM POLICY</h3><p>To allow the EC2 to be accessed by Session Manager, attach the following policy to the EC2 instance to the Instance Role: <a href="https://console.aws.amazon.com/iam/home?region=ap-northeast-2#/policies/arn%3Aaws%3Aiam%3A%3Aaws%3Apolicy%2FAmazonSSMManagedInstanceCore">AmazonSSMManagedInstanceCore</a></p><ol><li>Go into EC2 Resource section in AWS</li><li>Click on <strong>Connect </strong>next to the Launch Instance Button</li><li>Click on <strong>Session Manager </strong>and then<strong> Connect</strong></li></ol><p>Easy!</p><h3>CONSIDERATIONS FOR SESSION MANAGER</h3><p>While Session Manager is a great benefit to controlling EC2 instances, there are a few considerations you may want to discuss with your team and security before going with this option:</p><ul><li>Is your AWS account using Single Sign On or IAM user accounts? Is using services such as Remote Desktop Gateway easier and more secure than manually managing IAM user accounts?</li><li>How good is your IAM account control management? Does everyone have Administrator or PowerUser access? If so, should they be able to remote into every EC2 instance, or certain specific instances if there are production workloads?</li><li>Are there any third party security tooling that needs to record user sessions inside EC2 instances for compliance reasons?</li><li>For Windows EC2s, can you completely work in PowerShell, or do you need to use the GUI once in a while? If so, do you need an emergency remote control method for the times you will need to use the GUI?</li></ul><h3>SUMMARY</h3><p>Session Manager is a secure and easy method to remote into EC2 instances inside AWS and offer a lot of benefits over third party remote control tools and bastion servers. However, it is important to set up the proper security controls to get that good balance between ease of use and a secure environment.</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=9ef6f6feb46c" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Are You Well Operated?]]></title>
            <link>https://medium.com/@CevoAustralia/are-you-well-operated-633a7a39789e?source=rss-ddcd75d9a6a9------2</link>
            <guid isPermaLink="false">https://medium.com/p/633a7a39789e</guid>
            <category><![CDATA[aws]]></category>
            <category><![CDATA[cloud-migration]]></category>
            <category><![CDATA[cloud-computing]]></category>
            <category><![CDATA[well-architected]]></category>
            <category><![CDATA[security]]></category>
            <dc:creator><![CDATA[Cevo Australia]]></dc:creator>
            <pubDate>Tue, 01 Sep 2020 01:34:34 GMT</pubDate>
            <atom:updated>2020-09-01T01:34:34.194Z</atom:updated>
            <content:encoded><![CDATA[<figure><img alt="" src="https://cdn-images-1.medium.com/max/820/0*aKLmAbdN9GGy-HMj.png" /></figure><p>In our <a href="https://fresh.cevo.com.au.dream.website/post/are-you-well-architected/">previous post</a> about the Well-Architected Framework (WAF), we explored its use through the lens of a Well-Architected Review (WAR).</p><p>In this post, we explore how the WAF can go beyond the bounds of being a pure application architecture assessment to drive a discussion around improved operational insight and observability of system health and performance.</p><p>Obviously one of the <a href="https://d1.awsstatic.com/whitepapers/architecture/AWS_Well-Architected_Framework.pdf">5 pillars of the WAF</a> is “Operational Excellence”; in this pillar we normally assess how we are operating the platform, as well as how the business of operations is conducted.</p><p>A strong operational approach to a solution is to balance needs of both functional and non-functional requirements (NFR’s). The questions and discussions around NFR’s can be quite extensive, and can often involve political discussions around whose are bigger!</p><p>It’s really easy to get caught in the weeds digging into specific latency questions or error rates of different components, forgetting the bigger picture in the process. By leveraging the five pillars of the WAF, you have a great scaffold to consider all dimensions.</p><p>If we look at the pillars of the WAF from an operational and observability perspective, we start to see some interesting features emerge.</p><h3>SECURITY</h3><p>During a WAR, the security pillar focuses on identity and traceability as well as operational practices to reduce risk. Operational awareness of security is getting better, but in a number of organisations there is a belief that a “Secure Architecture” is sufficient and often “security observability” is a forgotten aspect of operations.</p><p>In modern system design this is just not enough — not only do we need to have a secure architecture, but we also need to have continual visibility of our security context.</p><p>When we look through the security lens for observability and operability we start to see things like monitoring of denial rates and failure rates on APIs, which may indicate some sort of brute force attack. We also need to look at data ingress/egress volumes, and overlay anomaly detection to identify possible causes of data exfiltration.</p><p>Designing with security in mind is critical, but ensuring the design is coupled to a strong security focus on observation and monitoring is key to protecting your workload.</p><h3>RELIABILITY</h3><p>When we look at the reliability of our architecture, we are essentially talking about designing things to survive failure, and using automation to do so. But as per security, having a strong architecture here is not sufficient to deliver reliability.</p><p>Many cloud services implement default models that will recover from major failures, like an entire server failing or even an availability zone. These failures are easy for the platform to detect and remediate, and a good architecture will get this mostly for free.</p><p>The detail is where we find partial failures: errors introduced through bad builds or malformed data that trigger edge conditions in our systems, producing a degraded customer experience, but don’t trip the platform level remediation. Worst case, an edge condition may trip the remediation process and you end up in an everlasting boot loop on new services or serverless function retries that are not getting closer to resolution.</p><p>Ensuring there’s a strong operational view into the reliability aspects is key to ensuring the automation activities are doing what is expected.</p><p>We need to look for things like unexpected auto-scaling events, or error rates through our load balancers. Latency on requests and multiple retry events may hide an underlying application error, while our resilient solution is working hard to route around the issue. Having the right visibility into these metrics is critical — not only knowing customers are getting a good experience, but in ensuring there are no lurking issues in the system.</p><h3>PERFORMANCE EFFICIENCY</h3><p>Performance efficiency is becoming one of the more complicated aspects of a modern system design. As we have moved from monoliths to more distributed systems, the number of data points available to us have exploded.</p><p>No longer can we simply look in a single access log for all requests to a system — our solutions are now a mix of different technologies and integration patterns.</p><p>The ability to observe end-to-end performance across these solutions has become increasingly more difficult to achieve. Tools such as AWS X-Ray and other distributed tracing solutions help to close this gap, but require a structured approach to monitoring and development.</p><p>Designing with observability and tracing in mind is something that needs to be considered early in the piece, and is often expensive and time consuming to retrofit. It’s important to take a layered approach to observability — making sure to cover both the micro and the macro performance aspects.</p><p>The micro aspects reflect individual components such as the performance of individual lambda functions or the individual performance of a specific database. At the macro scale, we focus on how this information is aggregated together to provide an end-to-end solution.</p><p>Performance really comes into its own when we are able to call out key dependencies and visualise the flow of information through our solutions with service maps.</p><h3>COST OPTIMISATION</h3><p>The last pillar, cost optimisation is another critical aspect which is becoming an increasingly important demand on operational teams.</p><p>No longer do we have to lean on “ahead of time” architectural decisions to lock us into a fixed platform and fixed cost. In the cloud we are able to flex with demand, and failure — and while this is regularly sold as “turning off what you don’t use” it can soon become “why do we have so much running”.</p><p>A poorly managed operational view of cost can see your move to the cloud as the most expensive data centre that you’ll ever run. This is even more true if you bring your existing “fixed infrastructure” operational playbook to the cloud table. The most expensive mistake you can make is to treat the cloud like a traditional data centre.</p><p>Management of operational cost is not as simple as turning things off if not used — it starts with understanding why something exists in the first place, and being able assess in real time, not only if the resource is being used, but if it is over or under scaled.</p><p>Sometimes, smaller is not the best cost optimisation. Take AWS Lambda for example: you can control the amount of CPU and RAM available to your Lambda functions and, depending on your implementation, these can have a direct impact on the execution time. As you reduce the capacity, the cost per millisecond goes down, but the duration of execution goes up. There is a sweet spot — and this is different for each workload deployed. Ensuring you have a solid view into the real world execution of your functions is critical to cost tuning your solution.</p><h3>CONCLUSION</h3><p>I hope this post has helped you look at the Well Architected Framework as more than a tool to assess the suitability of a given workload to have “best practice” architecture — it goes so much further and should be something that stays in your toolkit throughout the lifecycle of any system.</p><p>There is obviously a lot of experience and finesse required in designing an operational view of a solution — something our team would love to talk to you about. Want to explore how you can use the Well Architected Framework to provide guidance into the operational view of your systems? <a href="https://fresh.cevo.com.au.dream.website/contact/">contact us for more details.</a></p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=633a7a39789e" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[REALISING RESILIENCE WITH AWS CLOUDENDURE]]></title>
            <link>https://medium.com/@CevoAustralia/realising-resilience-with-aws-cloudendure-fec6e97057e8?source=rss-ddcd75d9a6a9------2</link>
            <guid isPermaLink="false">https://medium.com/p/fec6e97057e8</guid>
            <category><![CDATA[cloud-computing]]></category>
            <category><![CDATA[disaster-recovery]]></category>
            <category><![CDATA[cloud-native]]></category>
            <category><![CDATA[business-continuity]]></category>
            <category><![CDATA[aws]]></category>
            <dc:creator><![CDATA[Cevo Australia]]></dc:creator>
            <pubDate>Tue, 01 Sep 2020 01:26:59 GMT</pubDate>
            <atom:updated>2020-09-01T01:26:59.139Z</atom:updated>
            <content:encoded><![CDATA[<figure><img alt="" src="https://cdn-images-1.medium.com/max/820/0*xZWBOQvPA3lAfdXP.png" /></figure><p>“Business continuity and IT resilience are a click away with CloudEndure Disaster Recovery.” That’s the <a href="https://www.cloudendure.com/disaster-recovery/aws/">marketing line</a>, but as you would expect, in reality there is probably more to the story.</p><p>As with any Business Continuity or Disaster Recovery solution, there needs to be a great deal of planning, process development, and testing, regardless of what technical solutions may be used. This post outlines various considerations for the operation of a DR solution in AWS using CloudEndure based on recent DRaaS work carried out for a customer.</p><h3>WHAT DOES CLOUDENDURE DO FOR YOU?</h3><p>CloudEndure Disaster Recovery provides continuous block level replication of your machines’ disks into a low-cost staging area in your target AWS Account and Region. The lower cost comes about as only the disk storage is replicated and equivalent compute resources are only launched at the time of a recovery. In the event of an unexpected outage, data corruption, or malicious attack, you can instruct CloudEndure to launch copies of your machines in their fully provisioned state in minutes, minimising RPOs and RTOs.</p><p>The diagram below illustrates a typical deployment architecture:</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/939/0*MQAy--yLW_q3OT5J.png" /></figure><p>This architecture is broken up into 4 key domains:</p><ol><li>Source machines which require DR protection; these may be physical servers or VMs typically hosted on-premise or in managed data centres.</li><li>Staging area where replicated disk images are maintained; hosted in your chosen AWS account and region, a target subnet includes CloudEndure replication servers and an EBS volume per protected source disk/volume.</li><li>Target network where new services will be launched in the case of a DR, hosted in the same AWS account and region as the staging area</li><li>The CloudEndure Console which is the tool’s control plane, managing and orchestrating assets on your behalf.</li></ol><p>All of this is good in theory, but all systems are different and all environments have hidden gotchas that are likely to spring out and impact your efficiency and timeline. Through our recent delivery of a CloudEndure solution we have identified a number of areas where increased consideration and planning are well worth the investment.</p><h3>CLOUDENDURE CONSIDERATIONS</h3><p>NETWORK CONNECTIVITY</p><p>For this whole thing to work, a stable, secure and low latency connection is required between the protected workloads and AWS. If not already in place you need to look at establishing this connection using either Direct Connect or Site-toSite VPN. This connection is required for replication traffic to the AWS staging area and from the AWS target area back to on-premise for failback (as illustrated below). When deciding on what connectivity is most suitable, you need to consider both replication requirements and operational communication requirements to ensure the capacity and availability meets your needs.</p><p>In addition, CloudEndure on-premise agents and/or virtual appliances do require Internet connectivity, either directly or via proxy servers, to communicate with the CloudEndure Management Console. However, many existing data centers are not configured to have hosts access the Internet, not even via a proxy. There may be a significant effort required to establish this connectivity, and security policy exemptions may need to be agreed.</p><p>REPLICATION TRAFFIC</p><p>An important consideration for a successful DR solution using CloudEndure is the bandwidth requirement of the replication link. In order for CloudEndure to maintain continuous replication of your protected workloads the replication link must have bandwidth at least equal to the total average writes to all your protected volumes.</p><p>For example, if you are aiming to protect 50 servers each writing an average of 20GB to disk per day you need to take it into account when calculating bandwidth as follows: 1000GB/day –&gt; ~100Mbps. The amount of bandwidth required may lead to consideration of a dedicated link for replication traffic. If bandwidth is insufficient, or the connection fails, replication will start to lag, and this has an impact on your RPO as you will need to recover to an earlier point in time in the event of a failover.</p><p>Additionally, appropriate planning also needs to be done on the network routes and required traffic for reverse replication needed to enable failback to normal operation. The below diagram illustrates the additional access required directly between the source and target areas to facilitate this.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/924/0*vNOYsRC0PGrS2Ifh.png" /></figure><p>HOST BASED AGENT OR APPLIANCE</p><p>CloudEndure Disaster Recovery can be implemented on the source infrastructure either as a host based agent installed on each protected server, or in the case of VMWare environments as a virtual appliance. Careful consideration should be given to which approach is best for your environment, or maybe both will be required for different machines.</p><p><strong>Host based agents:</strong></p><ul><li>allow physical servers to also be protected in addition to virtual machines</li><li>simple installation but will need to be repeated for every protected server</li><li>every protected server will need Internet access either directly or via a proxy server for communication with the CloudEndure Console</li><li>failback is a manual process which requires the on-premise server to be booted using a Failback Client ISO in order to establish reverse replication.</li></ul><p><strong>Virtual appliance:</strong></p><ul><li>will only protect VMWare virtual machines</li><li>more complex installation but far fewer installs required</li><li>appliance requires significant vSphere permissions to operate</li><li>only the virtual appliance requires connectivity to the CloudEndure Console</li><li>orchestration of failback is possible.</li></ul><p>RETAIN IP OR CHANGE IP</p><p>When configuring launch blueprints in CloudEndure for your protected workloads you may choose to retain the same IP in the DR target environment or use different IP addresses. Each approach has advantages and disadvantages — if you retain existing IP addresses then the failover process will require both routing changes and entire subnets being failed over together, it also may require careful planning of failback.</p><p>On the other hand, changing IP addresses in the DR environment may require firewall changes for east-west traffic, DNS changes, and potentially application changes if IP addresses are hard-coded in any components. Some of these changes can potentially be automated through scripting but don’t under-estimate the effort involved in doing so.</p><h3>AWS TARGET CONSIDERATIONS</h3><p>These items are essential in order for failed-over workloads to function in your AWS target location. In the absence of appropriate implementation of solutions for these items, AWS based workloads may not be able to communicate with on-premise services required for normal functionality.</p><p>NAME RESOLUTION — HYBRID DNS</p><p>You will find that in the absence of appropriate DNS configuration that failed-over workloads will be unable to resolve addresses for resources in the on-premise network. This may prevent communication with on-premise servers such as domain controllers and prevent required application communications.</p><p>It is necessary therefore to configure an appropriate hybrid DNS solution, as an example the DR account could be configured with the AWS Route53 Resolver service to forward lookup requests for on-premise resources to the on-premise domain controllers.</p><p>ACTIVE DIRECTORY CONNECTIVITY</p><p>For Windows based workloads to function correctly in your AWS target it is essential that these servers are able to communicate with relevant domain controllers. In the absence of this logins on AWS based domain joined servers could be impacted.</p><p>At a minimum, network connectivity is required that ensures these workloads are able to communicate with the on-premise domain controllers. Extension of on-premise domain services into AWS should also be considered — AWS Managed Microsoft AD is one potential solution to achieve this.</p><p>ROUTING/CONNECTIVITY</p><p>Apart from the decisions made related to CloudEndure replication connectivity, and whether IP addresses will be retained or changed when launching recovery instances, consideration needs to be given to the overall network connectivity of failed over workloads with other services, both on-premise and external. Solutions for these requirements may involve routing, firewall, proxy, and other network configuration changes depending on the location of the services during a DR event.</p><p>It is also important to consider Internet connectivity of the AWS target subnet, is it a requirement that connectivity to external services continue to utilise existing controlled egress points or will direct external connectivity be permitted.</p><p>IDENTITY AND ACCESS MANAGEMENT (IAM)</p><p>Will there be a requirement for AWS recovery instances to access AWS services while operating in DR? For example, will post-launch scripts need to access objects from S3 for installing tools required in AWS, or to perform additional network configuration?</p><p>Access can be provided to the instances through the application of IAM roles with appropriate permissions, and allocated through the machine blueprints in CloudEndure.</p><h3>OPERATIONAL CONSIDERATIONS</h3><p>A number of items may need to be considered for the CloudEndure DR solution to meet your organisation’s architectural and security requirements. In the absence of appropriate implementation of solutions for these items, AWS based workloads may provide normal application functionality but would likely not meet organisation standards.</p><p>EXISTING OPERATIONS SERVICES</p><p>Consideration must also be given to solving for any connectivity issues for existing operations services provided either on-premise or through SaaS offerings. These would likely include such items as Endpoint Protection, Vulnerability Management, Monitoring, Time Synchronisation, and Centralised Logging.</p><p>Based on how these services are provided, connectivity to management endpoints will need to be solved in the AWS target environment if it is decided that these services are still relevant while the workloads operate in AWS. An alternative may be to look at alternative cloud native solutions to delivery of these services in AWS.</p><p>CONTINUITY OF BACKUPS</p><p>It is most likely that your organisation operates an enterprise backup solution for on-premise infrastructure. When considering CloudEndure Disaster Recovery it is important to evaluate whether these backups should be delivered without interruption during a DR event with workloads operating in AWS.</p><p>If this is a requirement for your DR solution then it will be necessary to ensure that the backup product is able to communicate with the instances in AWS and backups can be taken as they usually are. Depending on the backup product it may be possible to utilise AWS S3 (for example) as a media library for your enterprise backup solution; this may simplify your DR backup issue.</p><p>SUPPORT MODEL</p><p>What is your organisation’s support model for existing infrastructure (e.g. in-house or MSP)? Will this model be appropriate for support of the DR environment in AWS; will the same SLA’s be relevant or achievable when operating DR in AWS?</p><p>Ensure that these considerations are included in your BCP/DR plans and processes.</p><p>DR OPERATIONS</p><p>Successful execution of disaster recovery requires that appropriate planning and documentation is applied to the actual process of carrying out failover scenarios. Development, maintenance, and testing of recovery runsheets or processes is essential to ensure that when the crunch comes your recovery can be completed smoothly and with a minimum of fuss.</p><p>In addition, the processes that are developed need to be tested regularly to ensure that as your environment changes your plans are keeping up with those changes and continue to work.</p><p>SANDBOX ENVIRONMENT</p><p>When developing a CloudEndure (or any) DR solution it will be important to be able to test solutions and develop processes to provide the optimal solution.</p><p>In order to be able to achieve this with minimal impact to existing environments (both production and non-production), it would be advisable to build a complete sandbox environment to allow testing and validation of your solutions to the items mentioned in this post. This sandbox may also be useful for the regular DR tests mentioned above.</p><h3>PRODUCT LIMITATIONS</h3><p>SOURCE OPERATING SYSTEM</p><p>CloudEndure supports a wide range of Operating System versions as detailed in the relevant sections of their <a href="https://docs.cloudendure.com/#Getting_Started_with_CloudEndure/Supported_Operating_Systems/Supported_Operating_Systems.htm">documentation</a>.</p><p>There are some particular limitations to note; RedHat/CentOS 6 and earlier, or Windows Server 2008 and earlier are not compatible with AWS Nitro based instances, such as C5 and M5 family, so these instance types should be avoided when configuring blueprints for recovery of servers running these older OS.</p><p>It is important to plan for these limitations, and solutions may require upgrade of existing on-premise servers which run unsupported operating systems. Launching instances in Test Mode, which CloudEndure supports without stopping replication, will allow you to validate that these issues have been avoided.</p><p>MULTI-NIC SERVERS</p><p>It is quite common in on-premise environments to configure servers with multiple network interfaces (NICs). This may be for separation of application, and backup/monitoring traffic, or for increased network bandwidth through interface teaming.</p><p>CloudEndure will only launch AWS recovery instances with a single NIC, hence the configuration of network interfaces for AWS based workloads needs to be appropriately planned and implemented. If multiple interfaces are required in AWS it will be necessary to add secondary interfaces post-launch.</p><p>CloudEndure provides a post-launch scripting capability, whereby scripts can be developed and deployed to specific directories on the protected servers. These scripts are then executed after the AWS recovery instances are launched.</p><h3>CONCLUSION</h3><p>While it may not be as simple as having Business Continuity and IT Resilience a click away, with the necessary planning and design, and an appropriate AWS Target environment built to meet the organisation’s DR operational requirements, CloudEndure could be the answer to provision a DR capability for existing workloads at a lower cost.</p><p>The inclusion of AWS and CloudEndure in your solution can also unlock potential for automation of failover in some scenarios leveraging services such as AWS CloudWatch, AWS Lambda, and the CloudEndure API streamlining the recovery process.</p><p>First published at <a href="https://cevo.com.au/post/realising-resilience-with-aws-cloudendure/">cevo.com.au</a> on July 10 2020</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=fec6e97057e8" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[MLOps — Machine Learning 2.0]]></title>
            <link>https://medium.com/@CevoAustralia/mlops-machine-learning-2-0-3f33264210be?source=rss-ddcd75d9a6a9------2</link>
            <guid isPermaLink="false">https://medium.com/p/3f33264210be</guid>
            <category><![CDATA[machine-learning]]></category>
            <category><![CDATA[cloud-native]]></category>
            <category><![CDATA[data-science]]></category>
            <category><![CDATA[automation]]></category>
            <category><![CDATA[devops]]></category>
            <dc:creator><![CDATA[Cevo Australia]]></dc:creator>
            <pubDate>Thu, 11 Jun 2020 15:44:13 GMT</pubDate>
            <atom:updated>2020-08-11T07:46:25.965Z</atom:updated>
            <content:encoded><![CDATA[<h3>MLOps — Machine Learning 2.0</h3><figure><img alt="" src="https://cdn-images-1.medium.com/max/820/0*j4gk3lol_jPWHLob.png" /></figure><p>Recently Cevo were engaged to help build an automated machine learning pipeline that created the ability to rapidly and accurately generate predictive models. All aspects of training a model were automated. We refer to this as MLOps.</p><h3>WAIT, WHAT’S MLOPS?</h3><p>MLOps is DevOps applied to machine learning.</p><p>DevOps is a paradigm that attempts to remove silos and build bridges between all teams involved in delivering software. This is achieved by having cross-functional teams and automating as many tasks as possible that traditionally were manual such as building, packaging, testing and deploying a solution. When fully realised, DevOps can create rapid feedback loops for developers allowing them to deploy changes that are automatically verified to meet the highest standards in a matter of minutes instead of weeks or months.</p><p>When applying this mindset to machine learning, you have a cross-functional team where every member strives to automate their speciality. Through automation, Data Scientists have the ability to create and deploy high-quality models rapidly.</p><p>The benefits of MLOps are similar to that of DevOps:</p><ul><li>Rapidly adapt to the market and deliver value quickly.</li><li>Fully automated model testing and verification ensuring that models are of the highest quality</li><li>Automatic rollback of deployed models if things go wrong potentially saving hundreds of thousands of dollars</li></ul><p>Through MLOps, teams can have greater confidence that the changes they are making have increased quality — and due to the reduced cycle times greater experimentation and market responsiveness can be achieved.</p><h3>MLOPS TEAM STRUCTURE</h3><p>In a typical machine learning project, you will find three groups: data scientists, data analysts and data engineers. These three groups perform their own dedicated role and may be part of separate organisational branches. Each group is in a sense a silo. The data scientist will request something from each member and wait for that task to be fulfilled in order to continue their work.</p><p>For example, they may ask a data engineer to create features or cleanse data.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/336/0*Py8GiyDcp-J6J8oX.jpg" /></figure><p>MLOps attempts to remove silos and empower the data scientists. Data engineers aim to develop simplified self-service tooling that data scientists can use themselves to develop their required features. Machine learning engineers try to simplify the machine learning process and apply continuous delivery practices to deploy trained models to endpoints. All of these elements are wrapped together into an end to end automated pipeline that data scientists can kick off at will to quickly train high-quality models which are immediately available.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/570/0*ELTaUrusIVezcxlt.jpg" /></figure><p>Traditionally, a data engineer would be required to generate features. By instead applying MLOps approaches we empower data scientists and work hard to remove silos. The data engineer creates tools for the data scientists to generate the features themselves.</p><h3>USE CASE</h3><p>Cevo recently helped one of our customers build an automated machine learning pipeline that created the ability to rapidly and accurately generate predictive models. We leveraged our experience in developing automated delivery pipelines for infrastructure and applications and applied these same techniques to the Machine Learning domain.</p><p>Using an MLOps approach, we were able to rapidly create models and deploy them to production within days, as opposed to months. This gives the organisation the ability to experiment, assess and gain value much quicker than the traditional approach. In fact, during the engagement, we were able to train a model that gave significant business value in less than a week from inception.</p><p>This is an impressive capability proving that applying MLOps principles enables rapid agile delivery of machine learning-based outcomes for organisations.</p><h3>CONCLUSION</h3><p>The future of machine learning is MLOps: automating as much as possible for data scientists so that they can iterate and get rapid feedback. The project we undertook proved the immense value that machine learning can bring to an organisation in such a short time.</p><p><em>Originally published at </em><a href="https://cevo.com.au/post/mlops-machine-learning-devops/"><em>https://cevo.com.au</em></a><em> on June 11, 2020.</em></p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=3f33264210be" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[3 Tips for Managing your AWS Landing Zone]]></title>
            <link>https://medium.com/@CevoAustralia/3-tips-for-managing-your-aws-landing-zone-8bdf42fd0e3e?source=rss-ddcd75d9a6a9------2</link>
            <guid isPermaLink="false">https://medium.com/p/8bdf42fd0e3e</guid>
            <category><![CDATA[cloud-computing]]></category>
            <category><![CDATA[aws]]></category>
            <category><![CDATA[devops]]></category>
            <category><![CDATA[landingzone]]></category>
            <category><![CDATA[infrastructure]]></category>
            <dc:creator><![CDATA[Cevo Australia]]></dc:creator>
            <pubDate>Tue, 05 May 2020 06:54:40 GMT</pubDate>
            <atom:updated>2020-06-05T01:09:05.164Z</atom:updated>
            <content:encoded><![CDATA[<figure><img alt="" src="https://cdn-images-1.medium.com/max/820/0*rkV8pWsYI7iaIbBs.png" /></figure><p>The AWS Landing Zone is a great way to provision the foundation for your consumption of AWS, with guardrails and management via infrastructure as code. Further details can be found on the AWS site: <a href="https://aws.amazon.com/solutions/aws-landing-zone/">https://aws.amazon.com/solutions/aws-landing-zone/</a>, or Cevo’s factsheet <a href="https://cevo.com.au/wp-content/uploads/2020/04/Cevo-AWS-Landing-Zone.pdf">here</a>.</p><p>In this blog I’ll walk you through the following three actions that you may find useful when managing your AWS Landing Zone:</p><ol><li>Fixing a common deployment issue</li><li>Applying some basic source code management for the Landing Zone codebase</li><li>Creating new roles and deploying across the Landing Zone organization via code</li></ol><h3>FIXING A COMMON DEPLOYMENT ISSUE WITH LANDING ZONE</h3><p>Deployment of the Landing Zone is pretty straightforward, however there is one issue you may hit along the way — causing the Landing Zone stack to fail and roll back:</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*BjLxBM6Gvg79W6ENUGZJjw.png" /></figure><p>This is caused by an errant region in the mix that appears not to support stacksets. To be honest I haven’t delved too deeply into this as all the organisations I’ve done deployments with have not wanted any workloads outside of Australia, so we lock down foreign regions anyway.</p><p>Let’s open up the base template for the Landing Zone and ‘fix’ the code base before it deploys the pipeline for the first time. We do this by changing the BuildLandingZone default to No</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*Qs4Jf3TfRUvzKIAG8bK3CA.png" /></figure><p>Or, if you’re using the console, use this field</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*CljUvWd6sBz_uamEOWKU_Q.png" /></figure><p>Now we deploy the Landing Zone as usual from the base template, however it won’t create the Landing Zone, instead will load the Landing Zone source into an S3 bucket — we will update this bucket to make sure we’re not including any dodgy regions.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/948/1*_UPOIn83vciQdjyZUfnoww.png" /></figure><ul><li>side note, when we disable Auto Build there is an underscore (‘_’) prepended to the configuration zip file — we simply remove the _ when we want to deploy</li></ul><p>As the bucket is protected by encryption, you’ll first need to head over to KMS and update the policy on the Customer managed key — AwsLandingZoneKMSKey — to allow your user to download. Make sure you clean this up after once you have your proper roles in place. For the sake of this blog, I’ve used a temporary user which I’ll be deleting after.</p><p>Once you’ve given yourself access to the configuration zip file and downloaded — open manifest.yaml to view the regions</p><p>I strongly suspect that it is Hong Kong causing some of the issues but as I don’t want anything in many of these regions I mostly just remove them and leave our region and the US regions.</p><p>So this:</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/403/1*d3_1LSai1VgVwhzaNGAAnw.png" /></figure><p>Goes to this:</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/547/1*KS_rrh2mqyC4V74V6B_ZsA.png" /></figure><p>And we repeat for the region lists in manifest.yaml</p><p>Now, we could just upload this back to the bucket as a new version of the zip file, remove the underscore from the name the pipeline will kickoff and deploy the Landing Zone. However first I’d like to put my infrastructure-as-code in source control so we can version, manage and collaborate on the Landing Zone codebase.</p><h3>APPLYING SOME BASIC SOURCE CODE MANAGEMENT FOR THE LANDING ZONE CODEBASE</h3><p>I’ll be using GitHub, but you may like to use CodeCommit or something like Bitbucket or GiLlab, in which case the steps will be a little different.</p><p>I’ll add all the Landing Zone source files to my git repo:</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*BuzBq4WI-SlM2OPY3hv03A.png" /></figure><p>And then update the source settings of the CodePipeline to use Github</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*URXvn4cvrbyU6bPtNbPskQ.png" /></figure><p>Once this is done, you are ready to release the change and the Landing Zone will proceed to build — hopefully successfully now that we’ve altered the regions</p><h3>CREATING NEW ROLES AND DEPLOYING ACROSS THE LANDING ZONE ORGANIZATION VIA CODE</h3><p>Once the Landing Zone is complete, we will want an admin role to use to navigate through the accounts, not use local IAM users. In real life we would create roles to use with federation, but this will serve as a simple example.</p><p>First we open our manifest.yaml file and enter the following piece of code:</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*zPU6WwfSYg3tYRJChMs7ow.png" /></figure><p>Then we add a new folder under templates called ‘custom’ and create a new template under there for the new role — add-lzadmin-role.yml</p><p>In this file we create the following code:</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*TggQVex2yCN-S269351MxA.png" /></figure><p>Add the template in your source control and push the change</p><p>git add .\templates\custom\add-lzadmin-role.yml</p><p>git commit -m “adding new role for central admin”</p><p>git push</p><p>CodePipeline will pick up the update in GitHub and kick off the pipeline. Once the pipeline has completed the deployment we can check the change by assuming this role in any of the accounts:<br><a href="https://signin.aws.amazon.com/switchrole?roleName=LZCentralAdminRole&amp;account=%3ctargetaccount">https://signin.aws.amazon.com/switchrole?roleName=LZCentralAdminRole&amp;account=&lt;targetaccount</a>&gt;</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*ryh-hwibgEalQGsBBoQ1mA.png" /></figure><p>I hope these examples are useful, let me know if you have better/different ways of managing some of these scenarios, or if there are other things you’d like us to cover in this blog — hit me up on <a href="https://twitter.com/thommonz">twitter</a> or <a href="https://cevo.com.au/contact">contact the team at Cevo</a>.</p><p><em>Originally published at </em><a href="https://cevo.com.au/post/3-tips-for-managing-aws-landing-zone/"><em>https://cevo.com.au</em></a><em> on May 5, 2020.</em></p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=8bdf42fd0e3e" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Cloud Migration with VMC]]></title>
            <link>https://medium.com/@CevoAustralia/cloud-migration-with-vmc-5f944321cdef?source=rss-ddcd75d9a6a9------2</link>
            <guid isPermaLink="false">https://medium.com/p/5f944321cdef</guid>
            <category><![CDATA[aws]]></category>
            <category><![CDATA[cloud-computing]]></category>
            <category><![CDATA[vmware]]></category>
            <category><![CDATA[vmc]]></category>
            <category><![CDATA[cloud-migration]]></category>
            <dc:creator><![CDATA[Cevo Australia]]></dc:creator>
            <pubDate>Fri, 24 Apr 2020 00:34:28 GMT</pubDate>
            <atom:updated>2020-06-05T00:58:33.987Z</atom:updated>
            <content:encoded><![CDATA[<figure><img alt="" src="https://cdn-images-1.medium.com/max/820/0*ifIX2LENhNH1a03S.png" /></figure><p>Thinking back through my experiences with migrations to cloud highlighted just how difficult the whole process has become compared to the migrations I was part of early on in my IT career.</p><p>Back then, the earliest phase of a migration was introducing server virtualisation into the datacentre, where the economies and return on investment from shifting from a 1:1 operating system/physical host was about as compelling as you could get. The business cases basically wrote themselves and the migrations, while not always easy, could follow a fairly standard approach. We could roll out our conversion tool of choice and P2V the workloads, and there weren’t too many variables in the mix.</p><p>Fast forward to the world of heterogeneous hypervisors and private clouds, and things got a little more interesting — moving workloads between Xen, vSphere and Hyper-V added another layer of complexity. But we still hadn’t moved into the SDDC model, and things looked mostly the same as all our workloads stayed in the datacentre and we were not interested in refactoring or rearchitecting our applications; we just wanted to lift and shift the whole OS and make minimal changes along the way. Application support teams shouldn’t see any difference.</p><p>So now in the age of public cloud migration why is the process more difficult, costly and sometimes prone to setback? Maybe because now with all the ways to modernise how our applications run, there is the option now to pull functions from the traditional operating system and have this run in a managed service — adding ‘transform’ to migration. We now open up a bunch of new challenges; how do I secure this new service that can be run on an internet accessible IP, how do I integrate with my monitoring view, do I get all the features I got when I ran my database on a server, and who is going to do all the testing?</p><p>Here at Cevo we’ve worked through many migrations to the cloud and our goal is always to provide a fit-for-purpose solution to support our customers business goals, whether that’s application modernisation or data centre exit. To support migrations at scale and at pace, we’ve partnered with VMware to incorporate the <a href="https://cevo.com.au/wp-content/uploads/2020/04/Cevo-VMWARE-1.pdf">VMware Cloud on AWS solution</a> into our migration toolkit for those workloads that are just too hard to migrate and transform at the same time.</p><h3>So, how does VMC on AWS help with migrations?</h3><p>If I think through the simple example of a typical application stack there might be multiple layers of complexity that take time to work through and could derail a migration program if there is not the appetite to spend the time and budget on transformation.</p><p>Let’s look at the following picture of what may be typical things lurking in your on-premises VMware vSphere environment</p><ol><li>Trusty load balancer — could be F5, NetScaler, or something else. These types of devices are incredibly powerful for managing the delivery of applications to your internal and external users — hopefully all you have on these are some simple HTTP load balancing rules and no complex content rewrite or content switching rules. If the latter you may be in for some time consuming application remediation</li><li>Web servers — usually nothing too controversial at the web layer, depending on whether you have certificates, authentication, content management and other factors organised</li><li>Middleware — do you have the source code, documentation and/or anyone who knows what’s on there? May or may not a problem</li><li>Database — sometimes where the fun begins; ODBC drivers, multiple SQL roles such as reporting, SSAS integration services? What about collation, stored procedures, not to mention the security model to support operations. This setup will be tricky to move and if you do, do you have a backup solution in place that meets RPO requirements and also archival of old backups if required?</li></ol><figure><img alt="" src="https://cdn-images-1.medium.com/max/512/1*AnwJUYG0c7EMYOzt109ZkA.png" /></figure><p>All solvable problems of course, but what if you have 20 of these stacks and a deadline?</p><p>What if your team is not yet set up to manage all the new cloud services at scale?</p><p>How do you get them into the box on the right?</p><p>Where VMC can help is to take the pressure off by allowing you the luxury of not solving all the problems at once — get your apps into AWS and then in phase 2, phase 3, and phase 4 transform the application without the risk of a rushed re-architecture.</p><p>Let’s look at what this looks like if we attack the ‘low hanging fruit’ but leave the nasty challenges to a future when you have time and resources to tackle them properly.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/970/1*Em1VkOggnY9Ix9dNMTKesg.png" /></figure><ol><li>Firstly, let’s get VMC enabled in your AWS environment and connect your network via Direct Connect or VPN. Hiding some of the detail here, but essentially with NSX-T you can now use the network underlay to provide vMotion or Clone via either layer-3 connectivity to your on-premises vSphere or layer-2 stretched VLAN to preserve IP addressing. So now anything on the left we can move to AWS with a right-click in the VMware console.</li><li>We can move the SQL databases across with minimal changes. In fact we can preserve service accounts, IPs, all the operating system configuration and deploy AlwaysOn Availability Groups across Availability Zones in AWS. Fully integrated into AWS VPC, we can plug and play with all the AWS services we require</li><li>Application servers can be Cloned/vMotioned across. These maybe easy to transform, but at the risk of delays for testing and other work we may decide to break this work up to remove complexity</li><li>Do the web servers run simple Tomcat or IIS with a bunch of dependencies? We may just deploy some EC2 to handle this, or vMotion the web servers across</li><li>If the load balancer is just running some basic rules we can replace with a native AWS Application Load Balancer, or if it’s doing a few more clever things we may just deploy a marketplace appliance into VMC and drop the on-prem configuration on — we can unpick this one later on!</li></ol><p>Great, we’ve done the migration — but we just shifted a legacy pattern into the cloud, so now what do we do about it? Transformation is really the aim of the game when moving to the cloud, so let’s look at some of the options now that we’ve made it into AWS</p><ol><li>Web servers can move across to ECS Fargate as a low-cost, low-overhead solution once we’ve had a bit of time to see how the application runs. There are significant savings to be made by transforming your simpler workloads to this pattern, and I’m seeing this with the organisations I work with where it’s not all-in on containers/serverless but more along the lines of identifying the easy wins and getting maximum value up-front</li><li>Our Java middleware can also move to Fargate or potentially some other serverless solution</li><li>Some or all of the database may end up on RDS, or in a hybrid solution, it all depends on the cost/benefit of the transformation and priorities</li></ol><h3>Summary</h3><p>In summary, VMC can be an invaluable part of your migration toolkit if you have a number of legacy application stacks in your on-premises datacentre that you need to move, but you are challenged by timeframes, operational readiness or resourcing. VMC can be the stepping stone you need on large scale migration to get primary goals like datacentre exit, realised in realistic timeframes.</p><p>I hope this was a helpful introduction to the one of the use cases for VMC on AWS; <a href="https://cevo.com.au/contact">drop us a line</a> if this is something Cevo can help you with.</p><p><em>Originally published at </em><a href="https://cevo.com.au/post/cloud-migration-with-vmc/"><em>https://cevo.com.au</em></a><em> on April 24, 2020.</em></p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=5f944321cdef" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[OUR FIRST DRIVE OF AWS CHATBOT]]></title>
            <link>https://medium.com/@CevoAustralia/our-first-drive-of-aws-chatbot-acb0e1a85df1?source=rss-ddcd75d9a6a9------2</link>
            <guid isPermaLink="false">https://medium.com/p/acb0e1a85df1</guid>
            <category><![CDATA[slack]]></category>
            <category><![CDATA[cloud-computing]]></category>
            <category><![CDATA[aws]]></category>
            <category><![CDATA[devops]]></category>
            <category><![CDATA[chatbots]]></category>
            <dc:creator><![CDATA[Cevo Australia]]></dc:creator>
            <pubDate>Tue, 21 Apr 2020 04:37:52 GMT</pubDate>
            <atom:updated>2020-06-05T00:53:25.117Z</atom:updated>
            <content:encoded><![CDATA[<figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/0*vV1n_zQBXNLxffMn.png" /></figure><p>Recently the AWS team announced a new service, <a href="https://aws.amazon.com/blogs/devops/introducing-aws-chatbot-chatops-for-aws/">AWS ChatBot</a>, that aims to increase the visibility of informational events for delivery teams.</p><p>The team at Cevo have been working with a ChatBot method of information dissemination for a fair while now through the use of the <a href="https://github.com/arabold/aws-to-slack">GitHub project aws-to-slack</a>. This tool is pretty straight forward to set up and configure, but runs the risk of being left behind as AWS adds services.</p><p>The release of the AWS ChatBot service gives us an AWS focused view, and easy integration with Chime and Slack through the AWS console.</p><p>At this stage there is no Command Line Interface or CloudFormation support to configure the AWS ChatBot bot — luckily there is not much to configure.</p><p>Through a couple of console clicks you can authenticate your AWS account into Slack and quickly configure the channel to route the events to.</p><p>At this stage AWS Chatbot is in beta and launched with support for the following services:</p><ul><li>AWS Health</li><li>AWS CloudWatch</li><li>AWS Guard Duty</li><li>AWS Billing and Cost Management (for AWS Budget Alerts)</li><li>AWS CloudFormation</li><li>AWS Config</li><li>AWS Security Hub</li><li>AWS Systems Manager</li></ul><p>For our example I setup AWS Health to route events through to a new channel in Slack.</p><p>Below is a CloudFormation template that streams all of the AWS Health events to an SNS topic which can be connected to the AWS ChatBot service.</p><pre>AWSTemplateFormatVersion: &#39;2010-09-09&#39;</pre><pre>Description: This CloudFormation Template can be used to quickly get started with AWS AWSHealth.</pre><pre>Parameters:</pre><pre>ResourceName:<br>Type: String<br>Default: AWSHealth-Events<br>AllowedValues:<br>\- AWSHealth-Events<br>Description: Prefix for the resources that are created.</pre><pre>Metadata: {}</pre><pre>Mappings: {}</pre><pre>Conditions: {}</pre><pre>Resources:</pre><pre># Findings SNS Topic</pre><pre>AWSHealthSNSTopic:<br>Type: AWS::SNS::Topic<br>Properties:<br>TopicName: !Ref ResourceName</pre><pre>AWSHealthSNSTopicPolicy:<br>Type: AWS::SNS::TopicPolicy<br>Properties:<br>PolicyDocument:<br>Id: ID-GD-Topic-Policy<br>Version: &#39;2012-10-17&#39;<br>Statement:<br>\- Sid: SID-GD-Example<br>Effect: Allow<br>Principal:<br>Service: events.amazonaws.com<br>Action: sns:Publish<br>Resource: !Ref AWSHealthSNSTopic<br>Topics:<br>\- !Ref AWSHealthSNSTopic</pre><pre>AWSHealthEvent:<br>Type: AWS::Events::Rule<br>Properties:<br>Name: AWSHealth-Events-All<br>Description: &quot;All AWSHealth Events&quot;<br>EventPattern:<br>source:<br>\- aws.health</pre><pre>      State: ENABLED<br>      Targets:<br>        -<br>          Arn: !Ref AWSHealthSNSTopic<br>          Id: &quot;AWSHealthSNSTopic&quot;</pre><pre>Outputs: {}</pre><p>Once this stack has been created you can use the AWS ChatBot console to connect your Slack Channel to this newly created SNS topic.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*-_Gwemdt9Vy_XYcBf_w0AA.png" /></figure><p>Now we just need to sit back and wait for the events to roll in. Luckily overnight we got a notification that one of our RDS instances is hitting an EOL notification — and up popped this message in our Slack channel — making notification and discussion about the action much easier to perform.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*ceUtk09kA3ymQIvF90SIdg.png" /></figure><p>This method of using Slack as a notification channel has a lot of power in allowing teams to more efficently and effectively route information to the right person at the right time.</p><p>At Cevo we already have a channel with AWS GuardDuty configured – this alerts us to any unusual activity across all of our AWS accounts; when we receive an alert, a quick @person notification and a discussion is started, usually with resolution to the alert within minutes.</p><p>Slack allows team members to join and leave the channels as they see fit — we can triage and review the alerts and invite additional team members into the discussion as things evolve, and they have the full history of the discussion to review. No longer do they need to be forwarded an extensive email thread to get involved in the conversation.</p><p>And it’s not just informational alerts — the integration with CloudWatch provides quick and easy visualisations of your Alarms (including recent usage graphs).</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*OvHBJ_lecekagM41FdQ9xQ.png" /></figure><p>The best thing is that you can try it for yourself quickly and easily. You’ll find a lot of different ways that the new AWS ChatBot can help radiate accurate, timely and focused information to your team</p><p><em>Originally published at </em><a href="https://cevo.com.au/post/first-drive-of-aws-chatbot/"><em>https://cevo.com.au</em></a><em> on April 21, 2020.</em></p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=acb0e1a85df1" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[You’ve tried Amazon WorkSpaces; here are the questions you should ask before running at scale]]></title>
            <link>https://medium.com/@CevoAustralia/youve-tried-amazon-workspaces-here-are-the-questions-you-should-ask-before-running-at-scale-b062d5fb6799?source=rss-ddcd75d9a6a9------2</link>
            <guid isPermaLink="false">https://medium.com/p/b062d5fb6799</guid>
            <category><![CDATA[cloud-computing]]></category>
            <category><![CDATA[aws]]></category>
            <category><![CDATA[remote-working]]></category>
            <category><![CDATA[amazon]]></category>
            <category><![CDATA[cloud-services]]></category>
            <dc:creator><![CDATA[Cevo Australia]]></dc:creator>
            <pubDate>Fri, 17 Apr 2020 00:11:09 GMT</pubDate>
            <atom:updated>2020-06-05T00:43:40.636Z</atom:updated>
            <content:encoded><![CDATA[<figure><img alt="" src="https://cdn-images-1.medium.com/max/820/0*chSBMth1-8JOm30n.png" /></figure><p>Amazon WorkSpaces is a managed, secure Desktop-as-a-Service (DaaS) solution. As a remote or office-based worker, you can ‘remote desktop’ into your own Virtual Desktop Infrastructure (VDI) environment and work from wherever, on whatever local device you want.</p><p>The sweet spot for Amazon WorkSpaces is meeting the need to run a highly controlled, security compliant, performant desktop workstation remotely. If you’re needing to only centrally manage applications or you’re wanting to do high amounts of GPU intensive tasks without the governance requirements then perhaps AppStream is for you. [ <a href="https://cevo.com.au/aws-appstream-secure-high-performance-remote-work">https://cevo.com.au/aws-appstream-secure-high-performance-remote-work</a>]</p><p>Cevo’s Ali Atighi recently wrote a detailed blog on <a href="https://cevo.com.au/from-zero-to-vdi-in-an-hour-using-amazon-workspaces">standing up Amazon WorkSpaces within an hour</a>. He explains that you need an appropriately sized AWS VPC, a user ‘directory’, and then you need to provision the workspace itself.</p><p>So you’ve kicked the tires, now here are some questions and considerations to make before rolling out Amazon WorkSpaces in your large enterprise.</p><h3>DO YOU HAVE A LOCAL INTRANET WITH CUSTOM DESKTOP OR BROWSER APPS?</h3><p>Some organisations have specific desktop applications — for instance our financial customers might have mainframe ‘greenscreen’ applications that talk to a general ledger mainframe.</p><p>Generally what we need to do is design the VPC topology and network routing that connects into the corporate data center. For example:</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/625/0*kd8ElUxGTetQXizV" /></figure><h3>NETWORKING TO ON PREM</h3><p>Here, we might need to implement a Direct Connect (<a href="https://aws.amazon.com/directconnect/">https://aws.amazon.com/directconnect/</a>) (DX) to our on-premises data centre, and augment our VPC routes to route to and from the data center over DX. We’d also want to do this in a fault tolerant way, for instance either having redundant DX’s or having a site to site backup over the open internet.</p><h3>TRANSIT GATEWAY</h3><p>I recently blogged on the value of having a multi account strategy within AWS as a way to track costs and simply management. [<a href="http://beta.cevo.com.au/post/2019-10-05-thoughts-on-aws-control-tower/">http://beta.cevo.com.au/post/2019-10-05-thoughts-on-aws-control-tower/</a>]</p><p>When augmenting your office network and running in a hybrid cloud environment then implementing Transit Gateway will significantly reduce the network complexity and management overhead. <a href="https://aws.amazon.com/transit-gateway/">https://aws.amazon.com/transit-gateway/</a></p><h3>ACTIVE DIRECTORY USER AND GROUP</h3><p>Most places use Windows Active Directory for staff account information. In his blog (<a href="https://cevo.com.au/from-zero-to-vdi-in-an-hour-using-amazon-workspaces">https://cevo.com.au/from-zero-to-vdi-in-an-hour-using-amazon-workspaces</a>) Ali provisioned a simple user directory; most organisations may want to leverage the existing AD setup. For performance and fault tolerance, Amazon WorkSpaces requires access to a domain controller in the VPC itself. The best way to do this is to provision AD Connectors (<a href="https://docs.aws.amazon.com/directoryservice/latest/admin-guide/directory_ad_connector.html">https://docs.aws.amazon.com/directoryservice/latest/admin-guide/directory_ad_connector.html</a>) in the subnets of the Workspaces VPC. This provides low latency AD user authentication and authorisation into the WorkSpaces itself, even if the routing back to on-premises is not working (if cached).</p><h3>DNS</h3><p>For some of those desktop or browser based ‘intranet’ applications, there is an internal DNS name. To provide this capability into WorkSpaces, we can either route DNS traffic over that DX or provision a managed DNS slave into AWS. There are a few patterns here for performing DNS resolution into WorkSpaces which are mostly defined here <a href="https://docs.aws.amazon.com/Route53/latest/DeveloperGuide/resolver.html">https://docs.aws.amazon.com/Route53/latest/DeveloperGuide/resolver.html</a></p><h3>BAKING YOUR CUSTOM DESKTOP APPLICATIONS INTO THE WORKSPACE</h3><p>By default, AWS provides the most common OS’s, however you may prefer or require your own custom desktop SOE to be used as a Workspaces image. There are two approaches here.</p><ol><li>Bundle the software into the default OS image. <a href="https://docs.aws.amazon.com/workspaces/latest/adminguide/create-custom-bundle.html">https://docs.aws.amazon.com/workspaces/latest/adminguide/create-custom-bundle.htm</a>; or</li><li>Bundle your custom application as a Workspace Application and empower your staff to self manage the installation onto the Workspace <a href="https://docs.aws.amazon.com/wam/latest/adminguide/what_is.html">https://docs.aws.amazon.com/wam/latest/adminguide/what_is.html</a></li></ol><h3>OTHER THINGS TO CONSIDER</h3><p>There are other key items that I think are worth considering:</p><h3>ACTIVE DIRECTORY WORKSPACES ADMINISTRATION</h3><p>Designing your Active Directory hierarchy to include Amazon WorkSpaces is important from the start. This will allow you to then manage the entire WorkSpaces elegantly using Group Policy.</p><p>Group Policy controls are where you will continue to manage security controls like restricting software install.</p><h3>DASHBOARDS OF USAGE</h3><p>While Amazon provides the ability to identify who is using a WorkSpace and how long it has been idle, it is important for a way to manage and track the fleet. AWS exposes utilisation as Cloud Watch Metrics however it is worthwhile investing in some dashboarding to better visualise usage and spend then provides opportunities to save cost by downsizing or terminating hibernated instances.</p><h3>SELF-SERVICE PROVISIONING</h3><p>Providing a small serverless based website to enable your staff to self-provision their own WorkSpace in future reduces that arduous task of desktop support provisioning and deprovisioning gear. If possible investigate how to automate this task so you can focus your staff on high value work!</p><h3>THE PRICING MODEL</h3><p>Amazon WorkSpaces has two key pricing models. Monthly billing with unlimited hours per workstation or hourly billing with a small monthly fee to cover the persistent things like disk storage. Thus, consider your usage pattern to ensure that you’re saving money over the longer term. The pricing details for WorkSpaces can be found here: <a href="https://aws.amazon.com/workspaces/pricing/">https://aws.amazon.com/workspaces/pricing/</a></p><h3>CEVO CAN HELP</h3><p>Cevo can help you get started and build out a solution that is fit for you. Check out our Amazon WorkSpaces Solution overview here <a href="https://cevo.com.au/wp-content/uploads/2020/03/Cevo-Amazon-Workspaces.pdf">https://cevo.com.au/wp-content/uploads/2020/03/Cevo-Amazon-Workspaces.pdf</a> and reach out if you want to know more!</p><p><em>Originally published at </em><a href="https://cevo.com.au/amazon-workspaces-questions-you-should-ask"><em>https://cevo.com.au</em></a><em> on April 17, 2020.</em></p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=b062d5fb6799" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[AWS AppStream — Secure, High Performance Remote Work — Cevo]]></title>
            <link>https://medium.com/@CevoAustralia/aws-appstream-secure-high-performance-remote-work-cevo-941ca1b420f3?source=rss-ddcd75d9a6a9------2</link>
            <guid isPermaLink="false">https://medium.com/p/941ca1b420f3</guid>
            <category><![CDATA[aws]]></category>
            <category><![CDATA[cloud-services]]></category>
            <category><![CDATA[cloud-computing]]></category>
            <category><![CDATA[amazon]]></category>
            <category><![CDATA[remote-working]]></category>
            <dc:creator><![CDATA[Cevo Australia]]></dc:creator>
            <pubDate>Wed, 08 Apr 2020 06:48:25 GMT</pubDate>
            <atom:updated>2020-04-20T23:42:37.355Z</atom:updated>
            <content:encoded><![CDATA[<h3>AWS AppStream — Secure, High Performance Remote Work — Cevo</h3><figure><img alt="" src="https://cdn-images-1.medium.com/max/1000/0*lLfotwdSxhxiLsHz.jpg" /></figure><p>Now that we’ve become remote workers by default, it’s no surprise that many teams are turning to Virtual Desktop Infrastructure (VDI) solutions to provide centralised, managed desktop experiences for day to day applications. But what if you don’t need a full desktop experience and, instead, just need to provide access to a single application (or a few pre-defined applications)?</p><p>AWS AppStream 2.0 allows you to define, configure and manage individual applications and catalogues of applications, then make them available via a web browser, on any platform, with an optimised streaming experience. There’s no need to install custom software on the user’s desktop, and access to the streamed application can be managed either via your existing company directory, through creating a custom directory specifically for AppStream, or by using the built-in “User Pools” feature.</p><p>This is extremely beneficial in scenarios where you need to have applications that run inside a secure network boundary, but don’t have (or want) the complications that come from provisioning VPN or other remote network connectivity solutions to workers.</p><p>In addition, AppStream has built-in support for its “fleets” to become active on-demand, and shut down automatically after a certain period of idle time. This automates cost minimisation, since idle resources are stopped and incur a much lower cost (for example, nights and weekends).</p><p>In this post, I’m going to explore setting up AppStream to provide access to a high-performance graphics application on the desktop. For this example, I’ll be using the free and open-source 3D modelling/rendering/animation tool, Blender. You can download it from <a href="https://blender.org/">https://Blender.org </a>if you like.</p><p>Blender works best on a system with an in-built graphics card, or GPU, since it’s doing high-end graphics rendering. I’ll need an application instance with that capability to give me the best performance.</p><h3>GETTING STARTED — CREATING A VPC</h3><p>I’m going to use a dedicated VPC for this example, in order to keep the AppStream builder and runtime fleet separate from other network resources. If your organisation already has a VPC with connectivity to on-premises resources, or to other environments, you could use that (and therefore provide access to existing shared drives, databases, or other services).</p><p>I use the AWS Console VPC Wizard to create a VPC with just Public subnets. I’m using mostly defaults here, and once the VPC is created, I’ll add more subnets to fill the Availability Zones for maximum redundancy.Once the VPC has been created, (taking about 10 seconds) I manually add two more public subnets (for availability); one in ap-southeast-2b and one in ap-southeast-2c.</p><p>This takes about 2 minutes all up.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/0*SLqqjQM4U_tL4mPl.png" /></figure><h3>CREATE THE APPSTREAM IMAGE BUILDER</h3><p>Now that my VPC is in place, I can create my AppStream image. I start by working out which base image builder I’ll need. Blender works well with many kinds of graphics cards, but I’m looking for a balance between performance and cost so I want the G4dn instance type; and because I want a recent operating system, I choose the Windows Server 2019 base image.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/986/0*KH-2X3PIhg14ve41.png" /></figure><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/0*pIPWip18Rt8cRBi8.png" /></figure><p>I don’t need boatloads of CPU, since most of the work will be done by the GPU, so I can choose the lowest-level G4dn instance with 4 vCPUs and 16GB of RAM. I don’t need to specify VPC endpoints, or an IAM Role — yet.</p><p>In the network configuration, I’m using the VPC I created above, and I’m not configuring an Active Directory for domain-joined users in this example.</p><p>Once I’m done with the configuration, I click Review and then Launch. This will take about 15 minutes, so I have a cup of tea.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/984/0*8_fC_9LVzB7LwOay.png" /></figure><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/0*WfG5y9Vt3Nr3bj1Z.png" /></figure><p>The image builder is ready when it’s in the Running state. If for some reason it goes straight from Pending to Stopped, you should check in the Notifications tab for the image builder to see what’s gone wrong.</p><h3>CREATE YOUR APPSTREAM IMAGE</h3><p>Once the image builder is running, I select it from the list of builders and click Connect. Initially, I need to log in as the Administrator user, in order to install applications.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/620/0*VQmUtjEcdjZ2BTHH.png" /></figure><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/0*y_2ZgcEH2sGoqA9h.png" /></figure><p>The image comes with Firefox pre-installed so I can just download the Blender installer from <a href="https://blender.org/">https://Blender.org/</a> — this goes pretty fast, since the EC2 instance has a very quick connection to the internet.</p><p>Once Blender is installed, I run the Image Assistant (there’s an icon on the desktop of the image builder session)</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/897/0*TEjnIeKuwjeGo-y1.png" /></figure><figure><img alt="" src="https://cdn-images-1.medium.com/max/634/0*G-O9n2YjkK4SVX82.png" /></figure><p>I click the “Add app” button, browse to the location of the Blender program, and choose the Blender executable; then Save, and click Next in the Image Assistant.</p><p>Now I switch to the Template User, to set up Blender with the defaults I want.</p><p>Connected as the Template User, I run the Image Assistant again; from there, I start Blender and configure the Preferences. Most important for this use case is to set the System preferences for Cycles rendering to use CUDA devices — the NVidia Tesla T4 appears immediately.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/672/0*6cL3GBTbosdjgZKa.png" /></figure><figure><img alt="" src="https://cdn-images-1.medium.com/max/894/0*HMcrfG6tqylERxOc.png" /></figure><p>I pin Blender to the taskbar (to be nice), and then I can quit Blender and switch back to the Administrator user via the Image Assistant.</p><p>Back at the Administrator, I now have a Template User configuration that I can use to Save Settings, which I do. Once the settings are saved (this takes a few seconds), I switch to the Test User to validate that Blender is available.</p><p>Once I’ve launched Blender, and checked that it’s working normally, I switch back to the Administrator user, and I optimize the launch experience for the application by following the prompts.</p><p>Then I configure the final image name, set the description and tags, and click “Disconnect and Create Image”.</p><p>Back in the AWS AppStream console, I can see that the Image Builder instance is in the state “Snapshotting” which means it’s creating an AppStream Image that I’ll be able to launch later. This stage can take 20 minutes or so, and it’s time for another cup of tea!</p><p>Once the image has been created, the Image Builder will be in a Stopped state. If you click across to the Image Registry tab and change “All Images” to “Private and shared with others”, you’ll see your new AppStream image, in the “Available” state. If you go there before the Image Builder snapshot has finished, you’ll see the Image in a “Pending” state.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/0*o21bjNjT29HI2A1A.png" /></figure><h3>CREATE AN APPSTREAM FLEET</h3><p>Once I’ve created the image, I need to create a fleet of AppStream instances to serve the streaming applications. I choose the Blender image that I created.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/988/0*pmideM7-xGuR_MSm.png" /></figure><figure><img alt="" src="https://cdn-images-1.medium.com/max/973/0*THlGDPv86zOhbZkk.png" /></figure><p>On the next screen, I select the smallest G4 instance type, and define the Fleet Type to be On Demand. This is key for cost control, as it means that when an instance stops being used, it will be scaled-down automatically. I tune the idle and timeout parameters accordingly.</p><p>In order to allow the AppStream instances to write user files to S3 when they’re shut down, I add an IAM Role to the fleet definition.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/974/0*WXwK_nTl5tWsqDEp.png" /></figure><p>Then I define the VPC to launch the fleet instances in, using the one I created at the beginning, and create the fleet.</p><p>It’ll take about 10 minutes to start the fleet up, so it’s time for tea again!</p><h3>CREATE AN APPSTREAM STACK</h3><p>Once the fleet has transitioned from Starting to Running, I create a Stack to provide access and policies around the streaming sessions.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1000/0*KpMhHE1m1iEPZs65.png" /></figure><figure><img alt="" src="https://cdn-images-1.medium.com/max/968/0*0-KbwCKhZE0zx8N8.png" /></figure><p>In the next screen, I enable Home Folders. This will make use of the IAM Role I added to the Fleet above, and write user files to S3.</p><p>In the last screen, I configure options for clipboard copy and paste, file transfer, local printing, and application settings persistence — so that when a user changes settings, they are persisted to S3 between streaming sessions.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/981/0*EpZkrPjiFj9HzkQw.png" /></figure><p>The stack will be active almost instantly (no need for tea here!)</p><h3>CREATING USER POOLS</h3><p>The last step is to create and define users who can use the Stack. I click the User Pools entry in the left-hand menu, and then Create User. I fill in the user’s email address, first and last names, and click Create User</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/830/0*5kLDddDD2UTwFF1J.png" /></figure><figure><img alt="" src="https://cdn-images-1.medium.com/max/447/0*Bt9H-WjwaHqcix6L.png" /></figure><p>Creating the User Pool takes about 10 seconds. Once a user has been created, you can assign them to a Stack.</p><p>The welcome email includes a link to the AppStream launch page, and a temporary password. Once the user signs in, they’re required to choose a new password.</p><p>You should ensure that you assign applications to users before they get to the login screen, otherwise they’ll see this message.</p><p>You can assign a stack (application) to a user in the User Pool screen:</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/802/0*PGyhDWLagzN9hqiN.png" /></figure><figure><img alt="" src="https://cdn-images-1.medium.com/max/761/0*5sQJxNusMbxgtpDJ.png" /></figure><p>Once my user has been assigned to a stack, logging in shows you a screen like this, which is encouraging.</p><p>Clicking the Blender icon shows me that it’s preparing my session, with a nice progress meter and countdown.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/851/0*_QGIMDDvENXrdXZ7.png" /></figure><h3>USING APPSTREAM</h3><p>It’s fast. I’m on a good Internet connection at home (100Mbps down/50 up — well, good for Australia) and I was able to use Blender, which is a <em>very</em> interactive and graphics-intensive application just as comfortably as I do on my local machine, with the advantage that the AppStream instance has a much better GPU than my laptop.</p><p>The responsiveness is fantastic, to be honest. Not good enough for twitch gaming, but I <em>am</em> in Melbourne, and the instance is in Sydney, which is 10+ milliseconds away on a good day. I can resize my browser window, and the session resizes with it. I can go full-screen, invoke multiple monitors (which is represented as multiple windows), transfer files to and from the instance … it’s really quite good.</p><p>Using the S3 option for saving files was initially a little confusing — you have to specifically save in D:\PhotonUser\My Files\Home Folder\ — which works just fine, but you need to know that. It’s also not lighting fast, presumably because it’s actually saving the file to S3 every time. This might interact badly with applications which auto-save a lot, depending on how the application manages file saves. A performance improvement could probably be achieved by deploying an FSx filesystem for Windows, which is beyond the scope of this post.</p><p>I did manage to wedge Blender though, by asking it to render a truly silly number of hairs on a monkey, and the application stopped responding. Clicking the Windows “X” button in the top-right brought up the familiar “close this application or wait” dialog box. Closing the application gave me … a black screen. I logged out, and back in again, and got an error:</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/451/0*LtCB7FhpS6INTfzB.png" /></figure><figure><img alt="" src="https://cdn-images-1.medium.com/max/804/0*WgnlB930BBccYZiO.png" /></figure><p>I’m pretty sure this is a temporary state of affairs, but I did appear to be able to completely wedge a “slot” in the AppStream fleet. I had to manually scale the fleet out in order to get an additional instance to finish this post, by editing the Desired Capacity in the AppStream Fleet console.</p><p>This took a few minutes to have an effect — because of course it’s starting up a new Windows instance in the back-end — but it was frustrating that I couldn’t manage the instances themselves in any way, or terminate sessions that were in-progress.</p><p>I discovered, afterwards, that the “black screen” for a crashed application isn’t a game-ender — you can just go to the application menu and re-launch the application in the current session, and it comes right back up.</p><p>Copy/paste is a bit … odd. You have to go through this “top-level” menu for copy/paste to make the copied text <em>available</em> to the other clipboard to be pasted, but unless you need to do a lot of it, it’s not too bad.</p><p>On the whole, though, it’s a good experience. I can see really valid use cases for this service, above and beyond my trivial example.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/0*UH0jYH8AwF0sJ4k-.png" /></figure><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/0*f3wbPnTpte-0uUbc.png" /></figure><p>Oh, and in case you’re curious how the render came out, here it is: a brown monkey with a reflective sphere on a checkerboard. You can’t get much more cheesy than that!</p><h3>PRICING</h3><p>It often comes down to price, and in this case, the comparison would be against a Workspaces desktop.</p><p>Let’s look at an equivalent configuration, a single user running Blender on a GPU-enabled Windows workspace as their primary desktop. They’re full-time work from home, so monthly pricing makes sense. If we assume that this user is in the Sydney region, and works 8 hours/day for 23 days in a month (in that they have the application running for 8 hours), then the comparison looks like:</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/0*l8D-FU4VbiV3RJ6Y.png" /></figure><p>So for an equivalent application experience for a user who only needs that single application, the cost is nearly half for AppStream compared to Workspaces. Of course, the experience is different — if you have users who need a full remote desktop, then Workspaces is the right choice; but for a sensible cost, fully-managed, application-centric experience that provides high performance on any end-user’s desktop, you can’t go past AppStream.</p><h3>ADDITIONAL OPTIONS</h3><p>The option I chose for persisting user files in S3 is great, but doesn’t allow for easy sharing of files between users. To solve this, I could have created an AWS FSx Filesystem for Windows, mapped that into a shared drive on the AppStream Image, and had users log in as domain users; but for the scope of this blog post, there are a lot of moving parts that have to come together (create a Directory Service, configure SAML authentication, create and configure an FSx Filesystem, adjust the AppStream Builder, and so on). For a larger deployment, or an organisation that already has an Active Directory implementation that’s available in AWS, this would be a relatively straightforward set of tasks. There would be an additional cost to provision those resources, of course.</p><p>You can also integrate Google Drive, or OneDrive to a Stack when you create it, to allow other options for file sharing (although there are additional configuration requirements for these options)</p><p>If tea isn’t your (ahem) cup of tea, you can opt for coffee, juice or water throughout this process. I advise against anything stronger, as you end up consuming quite a lot of it.</p><p><em>Originally published at </em><a href="https://cevo.com.au/aws-appstream-secure-high-performance-remote-work"><em>https://cevo.com.au</em></a><em> on April 8, 2020.</em></p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=941ca1b420f3" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[AWS CLI access with Google SSO using ‘aws-google-auth’]]></title>
            <link>https://medium.com/@CevoAustralia/aws-cli-access-with-google-sso-using-aws-google-auth-7fd8ac8a02a5?source=rss-ddcd75d9a6a9------2</link>
            <guid isPermaLink="false">https://medium.com/p/7fd8ac8a02a5</guid>
            <category><![CDATA[aws]]></category>
            <category><![CDATA[authentication]]></category>
            <category><![CDATA[python]]></category>
            <category><![CDATA[open-source]]></category>
            <category><![CDATA[google]]></category>
            <dc:creator><![CDATA[Cevo Australia]]></dc:creator>
            <pubDate>Sun, 14 Apr 2019 00:00:00 GMT</pubDate>
            <atom:updated>2019-04-15T05:47:42.892Z</atom:updated>
            <content:encoded><![CDATA[<figure><img alt="" src="https://cdn-images-1.medium.com/max/828/0*ensK4MCos6ivYq6S.png" /></figure><p>At Cevo we access the AWS console through a Single Sign On (SSO) connection with our Google Apps identity provider. Further, our access is secured with Multi Factor Authentication (MFA) device tokens.</p><p>Accessing the AWS console through this method is pretty painless; simply click the SSO link in Google Apps and the browser handles all of the authentication negotiation allowing a pretty seamless access to the console.</p><p>But things become more complex when you want to get out of the browser — and into the command line.</p><p>There is currently no Google supplied authentication tool for the command line that allows negotiation with the sign on process.</p><h3>Enter aws-google-auth</h3><p><a href="https://pypi.org/project/aws-google-auth/">aws-google-auth</a> is an <a href="https://github.com/cevoaustralia/aws-google-auth">Open Source tool</a> developed by Cevo to solve the problem of acquiring AWS STS (temporary) credentials via Google Apps SAML Single Sign On.</p><p>The tool has been developed as a python library to provide strong cross platform support — supporting authentication from Windows, OSX and Linux based operating systems.</p><p>The idea for this project was inspired by the awesome work of wheniwork/keyme and <a href="https://github.com/venth/aws-adfs">aws-adfs</a>, both of which we have used in the past and took as inspiration to develop the Google Apps authentication tool.</p><h3>Installation</h3><p>Like all python projects — installation can be as simple as executing:</p><pre>$ pip install aws-google-auth</pre><p>The advantage of python allows this installation process to work across all operating systems and devices.</p><p>If you do have any troubles installing the application, take a look at the <a href="https://github.com/cevoaustralia/aws-google-auth/issues">project’s issues list</a> for solutions.</p><h3>Key Features</h3><h3>Easy interactive authentication</h3><p>On your first run execution of the program you will be presented with an interactive set of prompts asking for your account details.</p><pre>$ aws-google-auth <br>Google username: test@example.com <br>Google IDP ID: 12345678 <br>Google SP ID: ABCDEFGH <br>Google Password:</pre><p>aws-google-auth will then connect to the Google SSO servers and complete the authentication.</p><p>If aws-google-auth detects multiple accounts and roles, it will then prompt you to select the role from an available list.</p><pre>$ aws-google-auth <br>Google username: test@example.com <br>Google IDP ID: 12345678 <br>Google SP ID: ABCDEFGH <br>Google passweord: <br>[ 1] arn:aws:iam::1234:role/Dev-Administrator <br>[ 2] arn:aws:iam::5678:role/Demo-Administrator <br>[ 3] arn:aws:iam::1256:role/Billing-ReadOnly <br>[ 4] arn:aws:iam::1256:role/GuardDutyManager <br>[ 5] arn:aws:iam::9876:role/Prod-Administrator <br>Type the number (1 - 5) of the role to assume:</pre><p>You simply select the role you want to assume, and this role will be assumed.</p><pre>Assuming arn:aws:iam::1234:role/Dev-Administrator <br>Credentials Expiration: 2019-02-23 17:04:18+11:00</pre><h3>AWS Profile support</h3><p>During your daily work you’ll probably need to switch between these accounts and roles, and no-one wants to have to remember the cryptic IDP and SP ID’s every time you need to re-authenticate.</p><p>To make this workflow easier, aws-google-auth can be set up to use the existing AWS CLI credentials files ~/.aws/config to store these settings.</p><p>By using the -p flag, you can specify the profile you want these credentials to be exported into.</p><p>For example, if you have 4 accounts:</p><ul><li>poc</li><li>dev</li><li>prod</li><li>billing</li></ul><p>You can authenticate to each one with a different profile, enabling the ability to fast switch.</p><pre>$ aws-google-auth -p dev <br>Google username: test@example.com <br>Google IDP ID: 12345678 <br>Google SP ID: ABCDEFGH <br>Google passweord: <br>[ 1] arn:aws:iam::1234:role/Dev-Administrator <br>[ 2] arn:aws:iam::5678:role/Demo-Administrator <br>[ 3] arn:aws:iam::1256:role/Billing-ReadOnly <br>[ 4] arn:aws:iam::1256:role/GuardDutyManager <br>[ 5] arn:aws:iam::9876:role/Prod-Administrator <br>Type the number (1 - 5) of the role to assume: 1 <br>Assuming arn:aws:iam::1234:role/Dev-Administrator <br>Credentials Expiration: 2019-02-23 17:11:53+11:00</pre><p>You can see the details are cached here:</p><pre>$ cat ~/.aws/config <br>[profile dev] <br>region = ap-southeast-2 <br>google_config.ask_role = False <br>google_config.keyring = True <br>google_config.duration = 43200 <br>google_config.google_idp_id = 12345678 <br>google_config.role_arn = arn:aws:iam::1234:role/Dev-Administrator <br>google_config.google_sp_id = ABCDEFGH <br>google_config.u2f_disabled = False <br>google_config.google_username = test@example.com</pre><p>But when you test these credentials they might not work.</p><pre>$ aws s3 ls <br>Unable to locate credentials. You can configure credentials by running &quot;aws configure&quot;.</pre><p>This is because the credentials have been activated within the DEV profile.</p><p>To activate this profile you need to either export an environment variable or run the CLI commands with the profile flag.</p><pre>$ aws s3 ls --profile dev <br>2018-03-21 21:18:44 blart <br>2018-12-16 00:55:53 bling <br>2019-02-07 10:24:23 bucket</pre><p>or</p><pre>$ export AWS_PROFILEdev </pre><pre>$ aws s3 ls <br>2018-03-21 21:18:44 blart <br>2018-12-16 00:55:53 bling <br>2019-02-07 10:24:23 bucket</pre><p>When you next need to authenticate you will simply be prompted for your password; aws-google-auth fills in the rest.</p><pre>$ aws-google-auth -p dev <br>Google Password: <br>Assuming arn:aws:iam::1234:role/Dev-Administrator <br>Credentials Expiration: 2019-02-23 17:17:31+11:00</pre><h3>Multi Factor Authentication (MFA)</h3><p>As mentioned, at Cevo we not only use SSO for AWS authentication, but also have increased security through the use of Multi Factor Authentication tokens.</p><p>Google Apps support a multitude of <a href="https://support.google.com/a/answer/175197?hl=en">different MFA methods</a> — aws-google-auth supports most of these via the interactive CLI.</p><p>For example, on my account I have the Google Authenticator app enabled — so after authenticating with my password I am prompted via my phone app to approve this login.</p><pre>$ aws-google-auth -p dev <br>Google Password: <br>Open the Google App, and tap &#39;Yes&#39; on the prompt to sign in ... <br>Assuming arn:aws:iam::1234:role/Dev-Administrator <br>Credentials Expiration: 2019-02-23 17:17:31+11:00</pre><h3>Cached SAML and passswords</h3><p>The authentication process is actually a two step handshake between Google and AWS — the first part is the SAML authentication to the Google Apps service, with this SAML response we can then authenticate to the AWS service provider to complete the login.</p><p>For a short window, the SAML packet can be re-used without the need to re-authenticate. This can be really helpful if you select the wrong role and want to switch it quickly.</p><p>By default aws-google-auth caches the SAML packet to enable faster re-authentications. If it detects the SAML has expired, it will prompt for a full authentication workflow.</p><p>If you want to disable this feature, supply the --no-cache flag at the command line to ensure a full re-authentication is performed each time.</p><p>Similarly — entering your password every time at the command line might be something you want to avoid. By default this feature is disabled, but you can supply the -k flag to use a platform specific solution to store your passwords securely. On OSX for example, your password is stored in the system keychain tool.</p><h3>Environment variable support</h3><p>You also have the option to specify the main tool parameters as environment variables to speed up authentication even faster.</p><pre>export GOOGLE_USERNAME=test@example.com <br>export GOOGLE_IDP_ID=12345678 <br>export GOOGLE_SP_ID=ABCDEFGH</pre><p>Then when you authenticate these values will be supplied as the answers to the interactive questions leaving you to only need to supply your password.</p><h3>Alias for switching roles</h3><p>Bringing all of these items together can give you a workflow to quickly switch and setup multiple role access through the use of some command alias.</p><p>By setting up some alias as follows:</p><pre>alias aws-demo=&#39;unset AWS_PROFILE; aws-google-auth -k -p poc; export AWS_PROFILE=poc&#39; <br>alias aws-dev=&#39;unset AWS_PROFILE; aws-google-auth -k -p dev; export AWS_PROFILE=dev&#39; <br>alias aws-prod=&#39;unset AWS_PROFILE; aws-google-auth --no-cache -p prod; export AWS_PROFILE=prod&#39;</pre><p>You can simply type aws-demo or aws-dev to switch between roles.</p><p>In this example you can see that we use the stored account password for the demo and poc profiles, but will require a password for switching to the prod profile.</p><h3>All the things</h3><p>All of these features and more are listed in the parameters to tool itself.</p><pre>$ aws-google-auth --help <br>usage: aws-google-auth [-h] [-u USERNAME] [-I IDP_ID] [-S SP_ID] [-R REGION] <br>                       [-d DURATION] [-p PROFILE] [-D] [-q] [--no-cache] <br>                       [--print-creds] [--resolve-aliases] <br>                       [--save-failure-html] [-a | -r ROLE_ARN] [-k] [-V] </pre><pre>Acquire temporary AWS credentials via Google SSO </pre><pre>optional arguments: <br>  -h, --help        show this help message and exit <br>  -u USERNAME, --username USERNAME <br>                    Google Apps username ($GOOGLE_USERNAME) <br>  -I IDP_ID, --idp-id IDP_ID <br>                    Google SSO IDP identifier ($GOOGLE_IDP_ID) <br>  -S SP_ID, --sp-id SP_ID <br>                    Google SSO SP identifier ($GOOGLE_SP_ID) <br>  -R REGION, --region REGION<br>                    AWS region endpoint ($AWS_DEFAULT_REGION) <br>  -d DURATION, --duration DURATION <br>                    Credential duration ($DURATION) <br>  -p PROFILE, --profile PROFILE <br>                    AWS profile (defaults to value of $AWS_PROFILE, <strong>then</strong> falls back to &#39;sts&#39;) <br>  -D, --disable-u2f Disable U2F functionality. <br>  -q, --quiet       Quiet output <br>  --no-cache        Do not cache the SAML Assertion. <br>  --print-creds     Print Credentials. <br>  --resolve-aliases Resolve AWS account aliases. <br>  --save-failure-html Write HTML failure responses to file for troubleshooting. <br>  -a, --ask-role    Set true to always pick the role <br>  -r ROLE_ARN, --role-arn ROLE_ARN <br>                    The ARN of the role to assume <br>  -k, --keyring     Use keyring for storing the password. <br>  -V, --version     show program&#39;s version number and exit</pre><p>We’d love to hear about how you are using this tool in your team’s workflow, and hope that you find this tool helpful in unlocking the AWS cli for AWS accounts that have federated sign-on through Google Apps.</p><h3>Getting Involved</h3><p>There is a small but vibrant community around the <a href="https://github.com/cevoaustralia/aws-google-auth">github project</a>, contributions and ideas for features are most welcome.</p><p>Having troubles with the tool? Head over to the <a href="https://github.com/cevoaustralia/aws-google-auth/issues">project’s issues</a> page and check out information for resolving your problems.</p><p>If you’d like more information, or have any questions about this post or how to setup your AWS account authentication to be secure and flexible, please <a href="https://cevo.com.au/contact/">drop us a line!</a></p><p><em>Originally published at </em><a href="https://cevo.com.au/post/2019-02-21-cli-aws-access-with-google-sso-using-aws-google-auth/"><em>cevo.com.au</em></a><em> on April 14, 2019.</em></p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=7fd8ac8a02a5" width="1" height="1" alt="">]]></content:encoded>
        </item>
    </channel>
</rss>