Developer tools, end-user computing, front end and IoT

Delivering desktops and applications to people, moving a change from a commit to a running environment with each stage owned by a different service, and deciding whether a device makes its own decisions or asks the cloud.

Lesson 11 of 11 in objective 3. Cloud technology and services, part of AWS Certified Cloud Practitioner (CLF-C02).

The stages a pipeline puts in order, and the service that owns each one. In order: Source (a commit lands — AWS CodeCommit, or a repository the pipeline connects to), then Build and test (AWS CodeBuild compiles, runs the suite and produces an artifact), then Deploy to staging (AWS CodeDeploy installs the artifact, with rollback if it fails), then Deploy to production (this stage runs only because the previous one succeeded). Source a commit lands — AWS CodeCommit, or a repository the pipeline connects to Build and test AWS CodeBuild compiles, runs the suite and produces an artifact Deploy to staging AWS CodeDeploy installs the artifact, with rollback if it fails Deploy to production this stage runs only because the previous one succeeded
The stages a pipeline puts in order, and the service that owns each one.

Learn the developer tools by their verb

AWS CodePipeline decides the ORDER: which stages exist, what runs next, and the condition that one must succeed before the next begins. AWS CodeBuild MAKES the artifact — it compiles and runs the tests. AWS CodeDeploy PLACES an artifact that already exists onto EC2 instances, Lambda or ECS, with rollback. The source is AWS CodeCommit or a third-party repository the pipeline connects to. A question describing a sequence, visible and repeatable rather than living in somebody's shell history, is describing the first of those; either of the others alone is one stage of it.

Around them sit the tools that show up as plausible distractors. AWS Cloud9 is a browser-based development environment and AWS CloudShell is a browser shell with the CLI already in it. AWS X-Ray traces one request across the services it touches, which is a debugging tool rather than a delivery one. AWS Amplify builds and hosts web and mobile front ends, with AWS AppSync behind managed APIs. And AWS CloudFormation is very often a STEP INSIDE a pipeline — it provisions infrastructure from a template — but it never decides which step runs next.

Desktops and applications delivered to people

Amazon WorkSpaces provides managed virtual desktops that people connect to from whatever device they own, billed per user with monthly or hourly options that suit a workforce which arrives and leaves. Amazon AppStream 2.0 streams a single application to a browser session instead. Both keep the data in AWS rather than on the endpoint, and that — rather than cost — is usually the real reason an organisation buys either: a lost contractor laptop then contains nothing.

Because both satisfy the "own laptop, no company data on it" clause, that clause never decides the answer; the scope does. Two hundred seasonal contractors needing a full Windows desktop with the company's applications is WorkSpaces. Building the same thing out of EC2 Windows instances and RDP is possible and hands you the images, the provisioning, the patching, the licensing and the directory integration for people who turn over every year, which is the work the service exists to remove.

A whole desktop, or one application in a browser tab. Amazon WorkSpaces — What the user gets: A persistent, managed virtual desktop; Where the data is: In AWS, never on the endpoint; Buy it when: People need a full working environment on their own device. Amazon AppStream 2.0 — What the user gets: One application streamed to a browser session; Where the data is: In AWS, never on the endpoint; Buy it when: One program, occasional users, any device Amazon WorkSpaces Amazon AppStream 2.0 What the user gets A persistent, managed virtual desktop One application streamed to a browser session Where the data is In AWS, never on the endpoint In AWS, never on the endpoint Buy it when People need a full working environment on their own device One program, occasional users, any device
A whole desktop, or one application in a browser tab.

Devices that must keep working when the link does not

AWS IoT Core is the front door in the cloud: device identity and registry, MQTT messaging, a device shadow holding each device's last known and desired state, and a rules engine that routes messages onward to other services. Everything it does runs in the Region, which is the fact the exam builds its question around.

AWS IoT Greengrass takes that programming model out to hardware in the building, so messaging, application logic and even machine learning inference run locally and keep running when the connection to AWS is gone, synchronising when it returns. A refrigeration unit that must close a valve within a second of a bad reading — including while the shop's internet is down — is deciding locally, and only an edge runtime does that. It is the hybrid deployment model in miniature: the part that must survive without the cloud stays where the physical thing is.

Worth carrying in

AWS CodePipeline
Models the stages and their order. The service that decides what runs next.
AWS CodeBuild
Compiles, tests and produces an artifact. One stage.
AWS CodeDeploy
Installs an existing artifact on EC2, Lambda or ECS, with rollback. One stage.
AWS CodeCommit
AWS-hosted Git repository; a pipeline can also source from a third-party one.
AWS Cloud9
A development environment in the browser.
AWS CloudShell
A browser shell with the CLI and your credentials already present.
AWS X-Ray
Traces one request across the services it touches. Debugging, not delivery.
AWS Amplify
Builds and hosts web and mobile front ends; AWS AppSync sits behind managed APIs.
Amazon WorkSpaces
A persistent managed desktop per user, reached from the user's own device.
Amazon AppStream 2.0
One application streamed to a browser session.
AWS IoT Core
Device identity, MQTT messaging, device shadow and a rules engine — all in the Region.
AWS IoT Greengrass
The same model running on hardware at the edge, so devices act without the cloud.

What the exam does with this

Objective
3. Cloud technology and services
Share of the exam
34% (the whole objective)
Questions in this lesson
3
Signed for by a person
0

Partly checked. None of the 3 questions here has been read against the cited source by a person. 3 questions have been checked against their cited clause by an automated pass — which is not the same thing, and is not a signature.

Only questions a person has signed for are used in mock exams here. That is the whole difference between the two kinds of checking above.

Questions in this lesson

Drill this lesson

A lesson is one sitting: the trainer draws a short run from these questions alone and spaces the ones you get wrong.

Practise Developer tools, end-user computing, front end and IoT

The rest of objective 3