- Видео 56
- Просмотров 136 555
Computing Power
Добавлен 14 мар 2021
Here you will learn about Software Engineering and Software Architecture!
The more you learn, the better you become, and the more value you can provide!
The more you learn, the better you become, and the more value you can provide!
Rest API using NestJS and Gemini
In this video, we are going to create a REST API using NestJS(NodeJS framework) and Google's Gemini
In our API, we will be able to communicate with the API model as a chat interface, also being able to handle multiple chat sessions using different chat session ids
00:00 - Introduction
00:54 - Create Gemini's API Key
01:38 - Create code
14:26 - Test project
16:55 - Conclusion +Observations
17:16 - AI Roadmap
18:05 - Ending
In our API, we will be able to communicate with the API model as a chat interface, also being able to handle multiple chat sessions using different chat session ids
00:00 - Introduction
00:54 - Create Gemini's API Key
01:38 - Create code
14:26 - Test project
16:55 - Conclusion +Observations
17:16 - AI Roadmap
18:05 - Ending
Просмотров: 81
Видео
Ways to make your system faster
Просмотров 74Месяц назад
In this video, we're going to discuss some strategies to make your software and the system as a whole faster ⚡️. We will explore some algorithms/data structure concepts and arquitecture-level optimizations to improve a system. We will also talk about the concept of profiling to find what needs to be optimized 00:00 - Introduction 00:55 - Profiling 01:58 - Algorithms data structures 02:52 - Spli...
Deploy NestJS to ECS + CI/CD with GIthub
Просмотров 1,6 тыс.3 месяца назад
In this video, we're going to deploy a NestJS (NodeJS) project to AWS ECS with a custom domain HTTPS. We're also going to setup CI/CD for it using Github Actions to automate deployment whenever we make changes to the project. - Stable difusion API: platform.stability.ai/docs/api-reference#tag/Generate/paths/~1v2beta~1stable-image~1generate~1ultra/post Github project: github.com/Mpcsj-Computing/...
Top Lessons from CrowdStrike HUGE CRASH
Просмотров 954 месяца назад
In this video, we're going to discuss three lessons we Software Engineers, can learn from CrowdStrike event, that caused many Windows machines in the entire world to collapse, stop working and block many giant corporations to operate The last lesson is the most important
I/OBound vs CPU Bound Code
Просмотров 1374 месяца назад
In this video, we're going to talk about I/O Bound vs CPU Bound code, how to identity them and what defines each type of algorithm and some examples
Vertical vs horizontal vs Diagonal scaling on AWS
Просмотров 1495 месяцев назад
In this video, we're going to see what the difference is between vertical scaling, horizontal scaling, and diagonal scaling and how to apply these concepts on AWS ElasticBeanstalk. 0:00 - Introduction 0:18 - Theory and concepts 4:30 - Application on AWS ElasticBeanstalk 9:40 Conclusion
How to get a job as software engineer
Просмотров 6546 месяцев назад
If you are looking to get started as a software Engineer and get a job, in this video, I'm going to share my story on how I started my career and some lessons I learned to land jobs and continue to evolve. Some lessons were fundamental to allow me to evolve, get into more impactful projects, and thrive 0:00 - Introduction 0:40 - My journey in software 4:18 - Summarize tips 6:25 - Conclusion
The Power of Computer Graphics
Просмотров 656 месяцев назад
In this video, we are going to talk about computer Graphics, CGI, and how it changed the history of cinema. Steven Spielberg became amazed with this technique when doing Jurassic Park. The technique evolved dramatically through the years, making movies and games more realistic We're also going to explore some tools used in creating computer graphics footage, like movies and games www.blender.or...
Run Windows Machine on AWS Cloud
Просмотров 1387 месяцев назад
In this video, we're going to run a Windows machine on AWS Cloud with Ec2 service. We will also use Microsoft Remote Desktop to connect to the virtual Windows machine running on AWS Cloud remotely. #windows #windowsserver #aws #ec2 #microsoft #clouds
Save LLM ChatHistory using NodeJS + MySQL
Просмотров 2897 месяцев назад
In this video, we're going to persist an LLM chat history like GPT4 using a NodeJS with NestJS application, PrismaORM, and a MySQL database #ai #javascript #nestjs #llm #openai #database #chatgpt #software #typescript #code #mysql #prismajs #orm #db #nodejs 0:00 - Introduction 01:00 - Project diagram 03:54 - Show existing project codebase 04:55 - Test REST API show issue 06:55 - Create MySQL DB...
ElevenLabs Voice API with Python
Просмотров 4,3 тыс.8 месяцев назад
In this video, you will learn how to use the Voice API from Eleven Labs, and integrate it with a Python codebase. ElevenLabs documentation - elevenlabs.io/docs/introduction - elevenlabs.io/docs/api-reference/text-to-speech Ps: Discord channel from ElevenLabs contains many relevant content on how to use their API Supported languages by each model: - OpenAI model: botpress.com/blog/list-of-langua...
CI/CD using Github + Github Actions + AWS Lambda
Просмотров 3,5 тыс.9 месяцев назад
CI/CD using Github Github Actions AWS Lambda
CI/CD using Docker + Github + AWS ECS
Просмотров 15 тыс.10 месяцев назад
CI/CD using Docker Github AWS ECS
Deploy React NextJS project into ECS
Просмотров 4 тыс.11 месяцев назад
Deploy React NextJS project into ECS
Handle Multiple users with AI voice Assistant
Просмотров 260Год назад
Handle Multiple users with AI voice Assistant
RestAPI with NestJS and StableDiffusion AI model
Просмотров 363Год назад
RestAPI with NestJS and StableDiffusion AI model
Deploy Stable Diffusion On AWS SageMaker
Просмотров 6 тыс.Год назад
Deploy Stable Diffusion On AWS SageMaker
NestJs And OpenAI's Chat Completion API
Просмотров 2,6 тыс.Год назад
NestJs And OpenAI's Chat Completion API
Integrate Lambda functions with S3 buckets
Просмотров 1 тыс.Год назад
Integrate Lambda functions with S3 buckets
Save money on AWS S3 with Lifecycle Rules
Просмотров 102Год назад
Save money on AWS S3 with Lifecycle Rules
NestJS and RabbitMQ for Long-Running tasks
Просмотров 2,5 тыс.Год назад
NestJS and RabbitMQ for Long-Running tasks
Setup CI/CD on AWS for NestJS(NodeJS)
Просмотров 14 тыс.Год назад
Setup CI/CD on AWS for NestJS(NodeJS)
Query Load Balancer logs using SQL and AWS Athena
Просмотров 472Год назад
Query Load Balancer logs using SQL and AWS Athena
where i can deploy free nestjs?
Hello, unfortunately all tools I used aren’t free. You can make some optimizations to reduce costs or use free tier on some services, but completely free may be a bit hard to find out
this is very helpful..thank you so much.
I'm glad you liked it!
Is it possible to have the backend and front end behind a single load balancer with more than one listener? Load balancers tend to be expensive
Hello, yes, it's possible to do it using a Shared Load Balancer. I have a video about this topic here ruclips.net/video/XhGc_IM959A/видео.html It's a bit outdated since AWS changed the behavior and design for some its features, but it can still guide you for doing the process in general
Is there a way to be sure when it was deployed to AWS? Like some webhook or some other github action that could let us know once the entire flow is finished and everything is ready?
Excellent question! Yes, you can do it using AWS EventBridge to listen a Deployment State Change event from ECS. So you can setup the correct events on EventBridge + ECS to trigger something, like a lambda function, a direct HTTP webhook call to your codebase or something else that fits your use-case better. docs.aws.amazon.com/AmazonECS/latest/developerguide/ecs_cwe_events.html
i tryed but .env isn't showing up.... so the tutorial is for me usless sad....
Hello, try to print the value of your environment variable using print command. If the .env file is outside of root directory, you might need to make changes for reading it first
Top
Obrigado Natercio, tamo junto 👊
This content is pure gold! Do you think that it can work well integrated into a RAG agents on WhatsApp?
Good question! I started studying WhatsApp API as well to make some projects. For now, I don't have too much experience to answer your question, but I can get back to you in future!
@@computingpower obrigado irmao!!
Great information
I’m glad you liked it! 🙌🏼
Dude, skip the piano!
Thanks for your efforts
Im glad you liked it! If you have some topic suggestions for videos, please let me know!
@computingpower do videos on realtime video stream based applications with aws as deployment cloud use llms and computer vision models cool stuff
@computingpower i liked you AI voice assistant project end to end it was best in youtube
Coool🔥
I’m glad you liked it 🙌🏼
where is the previous video?
Hello, here are the two previous videos - ruclips.net/video/C_LJLZfvvaY/видео.htmlsi=T8rmJFd41BUH2qIX - ruclips.net/video/00I3czV8guk/видео.htmlsi=sPBck4ghS2vunE6t
Wow nice video 😊 help for me
I’m glad you liked it 🙌🏼
Are you also using service in this video
Hello, are you referring to ECS Service ?
Sempre bom ver os BR brilhando, muito bom conteúdo, parabéns.
Muito obrigado, tamo junto 👊
Hola muchas gracias por todo! Pregunta! Donde configuraste el acceso a la BD? no entiendo como conectaste aws
Hola, para conectarse con la base de datos en AWS, primero, es necesario instalar el AWS CLI en la máquina y configurar las credenciales de acceso. Aquí está el tutorial de cómo hacerlo: ruclips.net/video/1OqMQPx8Jno/видео.html
Man, you are great! I was stuck all the day (not even ChatGPT could help me) but your video was my very helpful. One point if someone is stuck like me: the subnets should be public (not private) because, otherwise, they can not pull from ECR. Thank you very much!!!
I followed this video and received health check grace period errors. Unfortunately and need to target groups and other important things to use ecs fargate. etc
Hello, thanks for your message! Did you make any changes to your health check config ? What do you have on your root route for your application?
@@computingpower Hello, you're welcome! thank you for sharing this tutorial.
@@computingpower Yes my / root route was return 404 and I creating some new route /health to check. But I had a lot of problems on the process but now is working.
@@yurionthecode I'm glad to know it's working! If you want to see specific video topics on this channel, please let me know! Maybe more details on ECS and Target Groups
How can i do this for java function?
Hello, for Java functions, you will have to create a Java lambda function, and then, automate the creation of your JAR file, and then send it with your GitHub actions automation. Check this out docs.aws.amazon.com/lambda/latest/dg/lambda-java.html
Thank you so much. Can you make a video tutorial deploy front end and back end (nest + react )
Hello! Thanks for the suggestion. I also have a video on how to deploy a React NextJS project to AWS ECS: ruclips.net/video/C_LJLZfvvaY/видео.html
It would help if you didn't skip user creation >_<
Hello, I did user creation on another video here ruclips.net/video/1OqMQPx8Jno/видео.html If you have more issues, please let me know!
Very cool video. Lots of valuable information packed in a simple form. Thank you.
I’m glad you liked it !
I have a nestjs backend and a Nextjs client, and I'm exploring AWS for deployment. If I create two services, each in its own ECS cluster, how can I enable communication between the services? Do I need to implement service discovery for this purpose?
Hello, service discovery is one way to do it. The easiest way is to use a custom URL with Route53. I have another set of videos communicating a Python backend with a NextJS frontend: - Deploying Python backend: ruclips.net/video/00I3czV8guk/видео.html - Deploying NextJS frontend (and connecting with backend): ruclips.net/video/C_LJLZfvvaY/видео.html Please let me know if you have more questions
Thanks bro! Very helpful
I'm glad you liked it!
I have a doubt. Is there any reason not to Dockerize the project before deploying it to lambda? I am new to this world. I would appreciate your help.
Docker adds complexity to the tool. The more complex the mechanism, the more chances there are to make a mistake somewhere. And the more chances there are that it will break.
Hello, thanks for explaining it! Precisely, Docker is not yet supported on AWS Lambda out of the box. You can still make it work with docs.aws.amazon.com/lambda/latest/dg/images-create.html but it requires a lot more of work
Thank you so much both of you for replying. I realized deploying it at in lambda using docker creates big overhead. Deploying in ec2 instance using docker suited better for my purpose 😊
@@cadc-pn1ir Awesome! For docker (single Docker image), you can also use ElasticBeanstalk. For multiple docker images, ECS might also work really well
Thanks mate, U're great
I’m glad you liked it 🙌🏼
Thanks man
My pleasure! If you want to see a video about a specific topic here, please let me know!
Hi! Where do I find the secrets in AWS? Thanks!
Hello, so for secrets on AWS Lambda, there are three main ways to do it: 1. Environment variables directly from the Lambda function at the configurations page (only for that specific lambda function) 2. Using Systems Manager - Parameter Store (better to reuse the same secrets for multiple services on AWS) 3. Using AWS Secrets - Similar to Parameter Store, but it's more expensive but useful when you need automated rotation of passwords
hi, where can we see the nestjs logs?
Hello, when an application runs on ElasticBeanstalk, you can find its logs on Logs section on ElasticBeanstalk console for your created environment. 1. Go to your deployed app on ElasticBeanstalk 2. Go to logs section 3. Click on dropdown menu and select either last 100 lines or entire logs for your app (each option can be better on different scenarios)
@@computingpower thx
Thanks bro. this is best video for first CI/CD project build. :)
I’m glad you liked it ! 🙌🏼
What about the scenario where we have a docker-compose for 2 two containers (1 for a db and 1 for api) ? Can you please tell the steps for that?
Hello! If you have more than one Docker container, it’s recommended to use ECS instead of ElasticBeanstalk.
Maybe these videos can help ruclips.net/video/00I3czV8guk/видео.html ruclips.net/video/wLsWALjM-Uk/видео.html ECS documentation: docs.aws.amazon.com/ecs/
Adorei 👏🏾👏🏾👏🏾
Obrigado, tamo junto!
Great video, all too well explained. I am trying to work on a personal project that needs exactly this but the written files all end up being corrupted. I am using the latest sd3 model, I see the buffer and no errors, any ideas as to what to look for?
Hello! I have not yet tested with the latest Sd3 model, but I can do it and get back to you!
Hi. How about Comfy ui? Can we set up comfyui on AWS? I wonder
Hello! I'm not familiar with comfyui. Are you referring to this? github.com/comfyanonymous/ComfyUI
thanks
fully detailed!
Подскажите как прослушивать @On('text') в разных файлах ....update.ts? Хочу раскидать код по разным файлам, что б было проще ориентироваться.
Привет! В этом случае у вас есть только один слушатель от Telegram. Вы могли бы создать подмодули в слое сервиса и передавать сообщение в различные модули в зависимости от полученного параметра или информации в текстовом сообщении.
great tips ,looking my way to get a job it definitely helps
Good luck on your journey 🙌🏼
Perfect, I liked the video, well explained, with vue on what you did, great rythm and nice background music.
After 3 days of trying to get it to work, I'm giving up
Hey what was the problem?
@@computingpower It just complains that it expected my app to be version "sample" instead of 1
@@gustavostnt Is this on the ElasticBeanstalk console?
@@computingpower Yes, the web UI. I'll be using just regular RDS + EC2 for now
I want to publish my app on 8000 port. So, what changes should I make?
Hello, on your task definition on ECS, you will have to update the Port mapping to use port 8000. docs.aws.amazon.com/AmazonECS/latest/APIReference/API_PortMapping.html docs.aws.amazon.com/AmazonECS/latest/developerguide/task_definition_parameters.html#:~:text=instance%20memory%20.-,Port%20mappings,-portMappings
hi, can I use the api to find out how many characters I have left to use?
Hello, yes, you can do it! There is an endpoint to get information about your account and available quota elevenlabs.io/docs/api-reference/get-user-info
@@computingpower thanks!
I cannot do POST, now I'm get 404 not found (using repo code), but y can call get and getall. Any suggestion? thanks
Hello! Have you been able to check if you created the POST route correctly? When making the request, you will have to pass the controller route + endpoint route, like this @Controller('dogs') export class DogsController { @Post("something") create(): string { return 'This action adds a new dog'; } } then you will have to make a request like this POST to localhost:<PORT>/dogs/something docs.nestjs.com/controllers
If im not wrong, you can use bcrypt-js and dont depend on python. Awesome video :)
Interesting! I didn’t know about that. Thanks for letting me know :)
thank you very much!
Hey bro where can i get your code so i could just copy and paste then edit. If you have a github it will be better for you and your channel Keep it up 👍
Hello! I’m glad you liked the content 🙌🏼 Here it is the GitHub link for this project github.com/Mpcsj-Computing/ai-voice-assistant/tree/feat/video-elevenlabs-api/backend
is this api is fully free?
Hello, they have a free quota for anyone to test their API, which offers 10 thousand characters (roughly 10 min audio) per month for free. For more than this, you will have to buy a subscription elevenlabs.io/pricing
Outstanding! Best of its kind :)
I'm glad you like it :) If you want to see some specific topics here on this channel, please let me know!
Great tutorial!
Um glad you liked it 🙌🏼 If you any more content about a specific topic, please let me know!
Thank you for the value you provide and knowledge you share! and I have a small request i you don't mind: please stop using music in the background, cause i put my own while learning 🙏😅