OPA on AWS. Part 3 – Application Developer | Amazon Web Services
- January 12, 2024
- Posted by: MainInstructor
- Category: Amazon Web Services BASIC Go Node
Video Title: OPA on AWS. Part 3 – Application Developer | Amazon Web Services
Hello my name is jimm McVey I’m a prototyping Solutions architect at AWS this video is part of a series of videos about the OPA on AWS solution to provide AWS related functionality in your backstage developer platform in this video I’m going to focus on the developer Persona and how a developer
Can use Opa in their daily activities to rapidly get their job done as a developer my primary focus is writing application Logic for the appc that run my business on a daily basis my responsibilities might include creating new applications modifying existing source code to create new features or fix bugs configuring my application
Working with data sources or troubleshooting where I’ll review logs or other monitoring related activities as I deploy my applications to the cloud there are new considerations around setting up and managing networking where my application will run and I need to maintain compliance with my company’s security guard rails and set up proper access
Permissions these concerns are multiplied as my applications need to be deployed across multiple accounts and regions the question becomes how can we scale this activity and allow developers to be productive efficient and focus on their strong application development skills to bring value and Innovation to the
Business in a previous video we saw how the platform engineering team can scale with the OPA and AWS solution to provide the consistency and guard rails through reusable infrastructure for the AWS Cloud now let’s take a closer look at how Opa on AWS allows the developer role
To focus on their activities when I log into my backstage instance I’m presented with a homage that my company has customized here I have quick access to a few favorite items and quick links but let’s get straight to my development tasks for the day I’m going to get
Started on building out a new microservice responsible for user data enrichment and get it deployed to AWS the templates in this catalog would include some of the most common patterns used within my company my team’s skills and design decisions have pointed us towards building a node.js application so I’m going to select this
Node.js web application to get started I’m going to fill in some basic form information required to scaffold out this application I’m going to call it user data enrichment service and I’m going to select developers as the group that only this application and the next step I’m going
To select which environment I want to deploy this application into this environment has already been set up by my platform engineering team to ensure that the account region networking security and other corporate or industry compliance is part of what backs up this environment all I have to know is that I
Want to deploy my application to the development environment that’s been set up for us AML applications next step is to provide the G Repository and then finally I’ll kick off the actions to scaffold out my application and the infrastructure this runs pretty quickly as it goes through these steps it’s
Kicking off the environment and environment provider uh backend infrastructure code and I’m now going to switch over to my catalog where I can see my new application that I’ve created at this time there’s some barebone information about my application I can see an overview of the application I have access to the get
Repository and I can also see what’s going on with my cicd pipelines here we can see the pipeline that’s running based on the scaffolding that I just kicked off from the software template while we’re waiting for this pipeline to finish I can get started with my code right away let’s copy the
Git clone command and switch over to a terminal going to clone the Repository and now we’re going to edit some of our source code and we’re going to do something really simple to add a new health endp point we’re going to do something really simple to return a Json
Object telling us the status is up we’re going to query an environment variable to tell us about our AWS environment and then we’ll have a process up time reported back we’re going to add our change do our normal development activities creating a commit push this let’s go back to Opa on AWS and
Check out our status of our pipeline we can see here that the original pipeline responsible for provisioning infrastructure has succeeded we see our pending pipeline this is going to be for the code change that we just started but now that we have the core infrastructure I’m going to refresh the entire page
Because we should now have more data that enriches our view of our application so what we can see now if we go back to the overview tab is I’ve got more information about the application state to show me whether the application is running and I can start and stop that
Application I want to be able to configure my application so I’ve got options to be able to add remove modify environment variables I can see more information about AWS infrastructure resources deployed to support my application and then I can see up at the top that I’ve got access to some other
Capabilities that we’re going to go through in a minute for now we’ve modified our application to look for a new environment variable so let’s add that to our configuration here we’re going to say this is a development environment we’re going to save it what Opa and AWS do behind the scenes
Is create a new version of our task definition so that when our application starts up and it picks up that latest task definition our environment configuration will be available for us let’s go ahead and start the application we can do this directly from the OPA on
AWS interface we give it just a minute for the application to provision and start up now pending once our application is in the activating State and then the running State our application should now be live so we’re going to be able to go directly to the application load balancer
Endpoint that was created for our application on our behalf clicking on this link takes us to the application itself we created a new V1 Health endpoint here we can see that we get our health response with our environment variable that we configured into our application showing up for
Us back in Opa for AWS let’s take a look at some of the other activities that we might do as a developer as a developer I’m going to be interested in my my cicd configuration so I can view my pipelines my gitlab merge requests my gitlab issues as a developer I’m also
Responsible for debugging my application in the app logs tab I’ve got quick access to my application logs and we don’t need to go to the cloudwatch logs view in the AWS console because backstage is designed to be an extensible and customizable platform the app logs view could be replaced with
Splunk or data dog or other options if a backstage plug-in has been developed for it when I’m ready I can use the management tab to make additional environments available to my application right now I’ve deployed to a Dev environment but I may also be ready to deploy to a test
Environment selecting the option to add a new environment would provision the required resources to run my application in that selected environment that might be a different account or a different region but that’s all defined in advance by the platform Engineers eventually my application will also need to pull data from a database
As I build out the application code to support querying a database I’m going to bind a database to the application the addition of new environments and binding of resources will be covered in subsequent videos the last item to highlight is the audit tab as a developer I may be interested
To view a history of the activity related to my application in this view I can see the action types timestamps and owners that have performed certain actions against my application you can see here recent history where log streams were retrieved and listing of EC tasks these are actions that we’ve actually
Performed during this demo that concludes the high level overview of how an application developer can use Opa on AWS to streamline their development and deployment of applications to the AWS Cloud be sure to watch other videos in this series to learn more about Opa and how it can help you scale your development
Video Keywords: Amazon Web Services
-
Sale!
Wireless WIFI Repeater Extender Amplifier Booster 300Mbps
$29.99$14.99 Add to cartWireless WIFI Repeater Extender Amplifier Booster 300Mbps
Categories: Electronics, Wi-Fi Router, Wireless Wi-Fi Extender Tags: 300Mbps, 802.11N, Amplifier, Booster, Extender, mobile wi-fi booster, Remote, WIFI, Wireless, Wireless WIFI, Wireless WIFI Repeater, Wireless WIFI Repeater Extender, Wireless WIFI Repeater Extender Amplifier, Wireless WIFI Repeater Extender Amplifier Booster, Wireless WIFI Repeater Extender Amplifier Booster 300Mbps$29.99$14.99 -
Sale!
Full RGB Light Design Gaming Headset Headphones with Mic
$24.99$14.99 Add to cartFull RGB Light Design Gaming Headset Headphones with Mic
Categories: Electronics, Gaming, Gaming Headsets Tags: Design, Full, Full RGB Light Design Gaming Headset, Full RGB Light Design Gaming Headset Headphones, Full RGB Light Design Gaming Headset Headphones with Mic, Gamer, Gaming, Gaming Headset Headphones, gaming headset wireless, Headphone, Headphones, Headset, Light, Mic, Package, RGB$24.99$14.99 -
Sale!
Wireless BlueTooth Multi-Device Keyboard Mouse Combo
$39.99$19.99 Add to cartWireless BlueTooth Multi-Device Keyboard Mouse Combo
Categories: Electronics, Gaming, Gaming Keyboards, Keyboard Mouse Combos Tags: Combo, Keyboard, keyboard mouse combos, Mouse, MultiDevice, Set, WireKeyboard Mouse Combo, Wireless, Wireless BlueTooth Keyboard Mouse Combo, Wireless BlueTooth Keyboard Mouse Combos, Wireless BlueTooth Multi-Device Keyboard Mouse Combo, Wireless BlueTooth Multi-Device Keyboard Mouse Combos$39.99$19.99 -
Sale!
High Back Leather Executive Adjustable Swivel Gaming Chair with Headrest and Lumbar
$199.99$139.99 Add to cartHigh Back Leather Executive Adjustable Swivel Gaming Chair with Headrest and Lumbar
Categories: Gaming, Gaming Chairs Tags: Adjustable, Chair, computer chairs, Desk, Executive, Gaming, Girl, Headrest, High, High Back Leather Executive Adjustable Swivel Gaming Chair, High Back Leather Executive Adjustable Swivel Gaming Chair with Headrest, High Back Leather Executive Adjustable Swivel Gaming Chair with Headrest and Lumbar, High Back Leather Executive Adjustable Swivel Gaming Chairs, Leather, Lumbar, Office, Racing, Swivel$199.99$139.99 -
Sale!
Professional LED Light Wired Gaming Headphones with Noise Cancelling Microphone
$29.99$19.99 Select optionsProfessional LED Light Wired Gaming Headphones with Noise Cancelling Microphone
SKU: N/A Categories: Electronics, Gaming, Gaming Headsets Tags: Cancelling, Gaming, Gaming Headphones with Noise Cancelling Microphone, gaming headset, Headphones, Headset, LED, Light, Mic, Microphone, Noise, Professional, Professional LED Light Wired Gaming Headphones, Professional LED Light Wired Gaming Headphones with Noise Cancelling Microphone, Wired, Wired Gaming Headphones, Wired Gaming Headphones with Noise Cancelling Microphone$29.99$19.99 -
Sale!
Gaming Desk with LED Lights USB Power Outlets and Charging Ports
$349.99$249.99 Select optionsGaming Desk with LED Lights USB Power Outlets and Charging Ports
SKU: N/A Categories: Computer Desk, Gaming, Gaming Desk Tags: and Charging Ports, Charging, Desk, Desks, Gaming, gaming desk with led lights, Gaming Desks with LED Lights, Home, LED, Lights, Monitor, Office, Outlets, Port, Power, Room, Stand, USB, USB Power Outlets, White, Workstation$349.99$249.99 -
Sale!
Wired Mixed Backlit Anti-Ghosting Gaming Keyboard
$99.99$79.99 Add to cartWired Mixed Backlit Anti-Ghosting Gaming Keyboard
Categories: Electronics, Gaming, Gaming Keyboards Tags: Antighosting, Backlit, Blue, brown, Gaming, Gaming Keyboard, gaming keyboards, gaming keyboards and mouse, Keyboard, Laptop, Switch, Wired, Wired Mixed Backlit Anti-Ghosting Gaming Keyboard, Wired Mixed Backlit Anti-Ghosting Gaming Keyboards, Wired Mixed Backlit Gaming Keyboard$99.99$79.99 -
Sale!
Wireless Bluetooth 5.3 ANC Noise Cancellation Hi-Res Over the Ear Headphones Headset
$119.99$59.99 Add to cartWireless Bluetooth 5.3 ANC Noise Cancellation Hi-Res Over the Ear Headphones Headset
Categories: Electronics, Gaming, Gaming Headsets Tags: 5.3 ANC Noise Cancellation Hi-Res Over the Ear Headphones Headset, ANC, Audio, Bluetooth, Cancellation, Ear, Earphone, gaming headset, Headphones, Headset, Hi-Res Over the Ear Headphones Headset, HiRes, Noise, Wireless, Wireless Bluetooth 5.3 ANC Noise Cancellation Hi-Res Headphones, Wireless Bluetooth 5.3 ANC Noise Cancellation Hi-Res Over the Ear Headphones Headset, Wireless Bluetooth 5.3 ANC Noise Cancellation Hi-Res Over the Ear Headphones Headsets$119.99$59.99 -
Sale!
Wired Sports Gaming Headset Earbuds with Microphone
$19.99$9.99 Select optionsWired Sports Gaming Headset Earbuds with Microphone
SKU: N/A Categories: Gaming, Gaming Headsets Tags: Accessories, Earbud, Earphone, Earphones, Gaming, gaming headset with microphone, Headphones, Headset, IOS, Microphone, Sports, Wired, Wired Sports Gaming Headset Earbuds, Wired Sports Gaming Headset Earbuds with Microphone, Wired Sports Headset Earbuds$19.99$9.99 -
Sale!
150W Universal Multi USB Fast Charger 16 Port MAX Charging Station
$49.99$29.99 Add to cart150W Universal Multi USB Fast Charger 16 Port MAX Charging Station
Categories: Charging Stations, Electronics Tags: 150W, 150W Charging Station, 150W Universal Multi USB Charging Station, 150W Universal Multi USB Fast Charger 16 Port MAX Charging Station, 150W Universal Multi USB Fast Charger 16 Port MAX Charging Stations, 150W Universal Multi USB MAX Charging Station, 16 Port MAX Charging Station, 3.5A, Charger, Charging, Fast, laptop charging stations, Max, Multi, Port, Stand, Station, Universal, USB$49.99$29.99