Тёмный

Mini Project - Web Application Architecture Evolution (2023v1) 

LearnCantrill
Подписаться 51 тыс.
Просмотров 8 тыс.
50% 1

In this advanced demo lesson you are going to evolve the architecture of a popular web application wordpress The architecture will start with a manually built single instance, running the application and database over the stages of the demo you will evolve this until its a scalable and resilient architecture
The demo consists of 6 stages, each implementing additional components of the architecture
0:00 Stage 1 - Setup the environment and manually build wordpress
24:46 Stage 2 - Automate the build using a Launch Template
37:44 Stage 3 - Split out the DB into RDS and Update the LT
57:19 Stage 4 - Split out the WP filesystem into EFS and Update the LT
1:15:24 Stage 5 - Enable elasticity via a ASG & ALB and fix wordpress (hardcoded WPHOME)
1:41:24 Stage 6 - Cleanup
1 Click Deployment console.aws.amazon.com/cloudf...
Architecture Diagrams and Instructions : github.com/acantril/learn-can... (you will need these)
▶ Check out my full range of content at learn.cantrill.io
▶ Join the best online technical study community techstudyslack.com
FOLLOW ME 😺
▶ Twitter: / adriancantrill
▶ RU-vid: / learncantrill
OTHER VIDEOS AND PLAYLISTS 🎞
▶ Network Fundamentals • Networking Fundamentals
▶ Technical Fundamentals • Technical Fundamentals
▶ AWS Fundamentals • AWS Fundamentals
▶ Course Intros • learn.cantrill.io - Co...
▶ Exam Question Practice • AWS Exam Question Walk...
▶ MINI PROJECT - Hybrid DNS • Mini Project - Hybrid ...
▶ MINI PROJECT - Advanced VPN • Mini-project - Advance...
▶ MINI PROJECT - Pet Cuddle O Tron • Mini-project - Pet-Cud...
▶ MINI PROJECT - Web Identity Federation • Mini-project - Simple ...
▶ MINI PROJECT - Architecture Evolution • Mini-project - Applica...
▶ MINI PROJECT - Cat Pipeline • Mini Project - CatPipe...
▶ Best Videos • Best Videos
All rights reserved © 2023 Adrian Cantrill

Наука

Опубликовано:

 

2 авг 2024

Поделиться:

Ссылка:

Скачать:

Готовим ссылку...

Добавить в:

Мой плейлист
Посмотреть позже
Комментарии : 47   
@bryantvivar5697
@bryantvivar5697 9 месяцев назад
Great Video!! I've been looking for a project to give me a better understanding of Web App Architecture Evolution!
@mabrouk642
@mabrouk642 Год назад
Thank you for the post, greatly appreciated and looking forward to the next project
@LearnCantrill
@LearnCantrill Год назад
Thanks for watching!
@vasanthamurugesanenglish5882
@vasanthamurugesanenglish5882 10 месяцев назад
Great one
@jasikaabadir8740
@jasikaabadir8740 Год назад
This is SICK, really appreciate this demo - everything is very well explained.
@LearnCantrill
@LearnCantrill Год назад
thanks, glad you like it :) subscribe and notification bell for more :)
@davyshah1074
@davyshah1074 11 месяцев назад
This is TOP TIER content Cant be thankful enough
@LearnCantrill
@LearnCantrill 10 месяцев назад
Glad you like it.
@relly793
@relly793 Год назад
completed thanks.
@LearnCantrill
@LearnCantrill Год назад
Great job!
@ericz8086
@ericz8086 4 месяца назад
We should have jq installed on our instance when doing this demo so we can use a very simple command below to handle the stripping of the quotation marks from our parameters by doing this, for example: EFSFSID=$(aws ssm get-parameters --region us-east-1 --names /A4L/Wordpress/EFSFSID --query Parameters[0].Value) EFSFSID=$(echo $EFSFSID | jq -r)
@chidi144
@chidi144 8 месяцев назад
Great Video Adrian. I get an error when I clicked on the Github link you provided in the video description which contains the different stages. Can you please look into it when you get a chance? Thank you
@MostBeautifulest
@MostBeautifulest 2 месяца назад
This is top content. However, I was left with a question in the Auto Scaling groups. When the CPU is above 40%, ASG adds an additional EC2, and when the CPU is below 40%, EC2 instances are reduced. Isn't that a loop? That condition will always be true? Does this process incur costs?
@sihanchen8850
@sihanchen8850 11 месяцев назад
Great content, really enjoyed it! Is there any chance you add a Terraform version for this demo?
@LearnCantrill
@LearnCantrill 11 месяцев назад
whether i use cloudformation or terraform isn't really what the demo is about. The IaC stuff is just used to provision the environment.
@craigdemyanovich
@craigdemyanovich 8 месяцев назад
At "STAGE 3F - Update the LT so it doesn't install", can we also remove mariadb105-server from the `dnf install` command in the launch template?
@craigdemyanovich
@craigdemyanovich 8 месяцев назад
At "STAGE 4E - Update the launch template with the config to automate the EFS part", the `dnf install` command no longer includes mariadb105-server, but there's no mention of removing it, and it is still shown in the video. Perhaps it would be good to update "STAGE 3F - Update the LT so it doesn't install" to include the removal of mariadb105-server.
@goobin9125
@goobin9125 11 месяцев назад
When did you create the A4LVPC? Is it okay if I use the default VPC
@LearnCantrill
@LearnCantrill 11 месяцев назад
The 1 click deployment link at the start.
@energylightingsolutions8127
Love this! What'd you use to create the animated slides?
@LearnCantrill
@LearnCantrill Год назад
Ahh this is a complex answer, not something for youtube comments. It's a bunch of tools and a lot of self-learned techniques.
@pratheekhegde3435
@pratheekhegde3435 10 месяцев назад
At 18:19, at stage one When pasting the commands getting following error: ERROR 1064 (42000) at line 1: You have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax touse near 'null' at line 1
@thewhiteboardyt
@thewhiteboardyt 2 месяца назад
You gotta put into the comment the syntax you're using. We are clueless what you wrote. I hope you googled and found your answer.
@Technomic-o
@Technomic-o Год назад
Thanks for the great content, I got "Error establishing a database connection" any idea what could be the issue ?
@Technomic-o
@Technomic-o Год назад
I did the STAGE2 - Automate the build using a Launch Template, after launching the deployment
@Technomic-o
@Technomic-o Год назад
Worked when I did it manually, it should be something wrong my side.
@LearnCantrill
@LearnCantrill Год назад
it might be that you have a typo in your SSM parameter store names ?
@Technomic-o
@Technomic-o Год назад
@@LearnCantrill I finished successfully all the stages, I really enjoyed it and I learned tons. I will differently come back and practices it again, thanks a lot !
@AdminLP-iv5mf
@AdminLP-iv5mf Год назад
dnf: command not found at stage 2
@LearnCantrill
@LearnCantrill Год назад
Are you using Amazon Linux 2023?
@sleeepymoe
@sleeepymoe Год назад
Is this video part of the AWS Associate Bundle?
@LearnCantrill
@LearnCantrill Год назад
hi, yep this one features in many of my courses, along with the associated theory. You will get it with the associate bundle yeah.
@AdminLP-iv5mf
@AdminLP-iv5mf Год назад
Still "User Data" is not loading while launching a new instance.
@LearnCantrill
@LearnCantrill Год назад
What do you mean user data is not loading ?
@AdminLP-iv5mf
@AdminLP-iv5mf Год назад
@@LearnCantrill #!/bin/bash -xe ............... launch more than 10 instance but still script is not running, if I copy all commands manually than its working
@user-zc2yj9vu2i
@user-zc2yj9vu2i 2 месяца назад
@@LearnCantrill maybe we're stuck on the same issue part2, since it stops if there's error, i'm stuck with error Errno 2] No such file or directory: '/var/cache/dnf/amazonlinux-39b85c012216ab5c/packages/krb5-devel-1.21-3.amzn2023.0.4.x86_64.rpm'
@bemvindotorcedores
@bemvindotorcedores Год назад
all in free tier?
@LearnCantrill
@LearnCantrill Год назад
there is a part which isn't but that is clearly identified and optional.
@user-zc2yj9vu2i
@user-zc2yj9vu2i 2 месяца назад
in the part 2, the script user-data i cnt run it, but when i perform a manual run, it works. weird. Errno 2] No such file or directory: '/var/cache/dnf/amazonlinux-39b85c012216ab5c/packages/krb5-devel-1.21-3.amzn2023.0.4.x86_64.rpm'
@AdminLP-iv5mf
@AdminLP-iv5mf Год назад
@LearnCantrill at stage 2 /var/logs/message ... # dnf -y update #: /var/lib/cloud/instance/scripts/part-001: line 18: dnf: command not found
@AdminLP-iv5mf
@AdminLP-iv5mf Год назад
Now selected Amazon Linux 2023 AMI and Manually run all commands thn....WordPress app came up
@LearnCantrill
@LearnCantrill Год назад
Are you using Amazon Linux 2023 ?
@AdminLP-iv5mf
@AdminLP-iv5mf Год назад
@@LearnCantrill I tried "Amazon Linux 2 Kernel 5.10 AMI 2.0.20230628.0 x86_64 HVM gp2" image but got dnf command not , even can't install dnf packages on it. So tried Amazon Linux 2023 and here also User data code not ran. However, Dnf package was there so that run all commands manually and install Wordpress Successfully.
@AdminLP-iv5mf
@AdminLP-iv5mf Год назад
Hello @@LearnCantrill I am getting Payment Failed while enrolling 3 bundle course
@AdminLP-iv5mf
@AdminLP-iv5mf Год назад
Error from cat cloud-init-output.log --->> RPM: error: can't create transaction lock on /var/lib/rpm/.rpm.lock (Resource temporarily unavailable) The downloaded packages were saved in cache until the next successful transaction. You can remove cached packages by executing 'dnf clean packages'. Error: Could not run transaction. 2023-07-22 17:47:03,713 - cc_scripts_user.py[WARNING]: Failed to run module scripts-user (scripts in /var/lib/cloud/instance/scripts) 2023-07-22 17:47:03,714 - util.py[WARNING]: Running module scripts-user () failed Cloud-init v. 22.2.2 finished at Sat, 22 Jul 2023 17:47:04 +0000. Datasource DataSourceEc2. Up 45.95 secondsction whts wrong with the user data configuration?
Далее
Mini Project - Learn how to use AWS Systems Manager
23:53
🎙ПЕСНИ ВЖИВУЮ от КВАШЕНОЙ🌇
3:16:26
And what is your height? 😁 @karina-kola
00:10
Просмотров 1,5 млн
When RESTful architecture isn't enough...
21:02
Просмотров 262 тыс.
How AI could help us talk to animals
9:06
Просмотров 297 тыс.
What if my Intel CPU explodes??
14:20
Просмотров 59 тыс.
Why The U.S. Elects So Many Older Politicians
9:59
Просмотров 115 тыс.
IP Sec VPN Fundamentals
14:55
Просмотров 156 тыс.
Which AWS certification should you do?
17:33
Просмотров 194 тыс.
КРУТОЙ ТЕЛЕФОН
0:16
Просмотров 6 млн
iPhone socket cleaning #Fixit
0:30
Просмотров 17 млн