Endre Synnes
Endre Synnes
  • Видео 50
  • Просмотров 156 047
Static Website Hosting - AWS CloudFront and S3 - Terraform
Learn how to host a website with your own custom domain, using AWS CloudFront and S3. This video contains two demos; firstly a step by step guide for how to deploy your website using the AWS Console, then we’ll do the same using infrastructure as code, more specifically Terraform.
Timestamps:
0:00 - Intro​
1:39 - What is CloudFront?
2:53 - Why should you use CloudFront?
4:36 - Demo (AWS Console)
20:06 - Demo (Terraform)
- Terraform Introduction video: ruclips.net/video/fZ0DvUwQEcI/видео.html
- Custom Domain (Route53) and Certificate (ACM) video: ruclips.net/video/ookzXuMr8eY/видео.html
- CloudFront Cache Policies docs: docs.aws.amazon.com/AmazonCloudFront/latest/DeveloperGuide/using-managed-cache-...
Просмотров: 1 503

Видео

Terraform introduction
Просмотров 1335 месяцев назад
In this video I’ll give you an introduction to Terraform and IaC (Infrastructure as Code) in general. I will cover terraform concepts like; providers, modules, resources, state, etc. Also, I’m going to give you some pointers for best practice, as well as try to convince you why you should use Terraform (or IaC in general) for your next project. Timestamps: - 0:00 Intro​ - 0:50 What is IaC and h...
What is AWS IAM?
Просмотров 2188 месяцев назад
What is AWS IAM? Why do we need it and what is an IAM Policy? In this video I’ll try to answer these questions and more. This is a relatively in-depth introduction to the IAM service, which all AWS developers love and hate. Timestamps: - Intro: 0:00​ - Identities: 1:02 - IAM Policies: 2:26 - Limit access: 4:47 - Conditional statements: 6:38 - Permission boundaries: 7:22 - Limitations with AWS I...
AWS Parameters and Secrets Lambda Extension - SSM Parameters
Просмотров 1,4 тыс.Год назад
How can Lambda Parameter- and Secrets-Extension make it more efficient to retrieve parameters from AWS Systems Manager Parameter Store? In this video I’ll discuss what this new extension is and why you should consider using it for your Lambda functions. Timestamps: - Intro: 0:00​ - Example diagram: 2:44 - Create SSM Parameter: 5:17 - Create Lambda function: 5:43 - Create IAM Policy: 10:36 - Dem...
AWS Lambda SnapStart
Просмотров 635Год назад
Lambda SnapStart was introduced during the AWS Re:Invent 2022. This is a feature that will make a big difference for developers using Java in their AWS Lambda functions. In this video I will first talk about what SnapStart is, then give you a practical demo of how to enable It in your Lambda functions, as well as some tests to see if this feature actually is something to consider. Timestamps: -...
Enable HTTPS and a custom domain on you S3 bucket using CloudFront
Просмотров 7 тыс.Год назад
#aws #serverless #cloudfront #s3 What is CloudFront and why do you need it for your web applications? In this video I’ll try to answer this question, as well as show you how you can use CloudFront to enable secure communication with HTTPS to a static webpage hosted on Amazon S3. We will also make use of a custom domain. I will assume that you have watched my video on how to Create a Route53 Hos...
AWS Secrets Manager - Rotate Secrets
Просмотров 10 тыс.2 года назад
In this video we will learn how to enable rotation of secrets in AWS Secrets Manager. This is a very useful feature which can provide an extra level of security for your Cloud applications. We will configure rotation for an existing Secret and write our own rotation function using AWS Lambda. Timestamps: - Intro: 0:00​ - Secrets Manager config: 1:27 - Create rotation function: 5:19 - Configure ...
AWS Route53 - API Gateway custom domain
Просмотров 9 тыс.2 года назад
In this video I’ll show you how to make use of a Route53 Hosted Zone and ACM SSL certificate, to create a custom domain for you API Gateway. Timestamps: - Intro: 0:00​ - Walkthrough of demo API: 1:46 - Create custom domain: 3:01 - Attach custom domain to API: 6:00 - Add record to Route53 Hosted Zone: 6:40 - Time for testing: 8:35 AWS Route53 routing policies: docs.aws.amazon.com/Route53/latest/...
AWS Route53 - Domain and SSL Certificate using Hosted Zones and ACM
Просмотров 38 тыс.2 года назад
In this video we will learn how to create a Route53 Hosted Zone for your web domain. We will also learn how to create a SSL certificates for our domain using AWS Certificate Manager (ACM). Timestamps: - Intro: 0:00​ - Create Route53 Hosted Zone: 1:22 - Create SSL Certificate using ACM: 2:28 - Certificate validation: 4:40 Documentation: - Register domain using AWS: docs.aws.amazon.com/Route53/la...
AWS Route53 - Health Check
Просмотров 4,8 тыс.2 года назад
AWS Route53 - Health Check
Send records to Kinesis using AWS Lambda
Просмотров 5 тыс.2 года назад
Send records to Kinesis using AWS Lambda
Subscribe from a Kinesis Data Stream using AWS Lambda
Просмотров 3,8 тыс.2 года назад
Subscribe from a Kinesis Data Stream using AWS Lambda
Sending messages to SNS from AWS Lambda
Просмотров 12 тыс.2 года назад
Sending messages to SNS from AWS Lambda
Sending messages to SQS from AWS Lambda
Просмотров 16 тыс.2 года назад
Sending messages to SQS from AWS Lambda
AWS Systems Manager (SSM) Parameter Store and AWS Lambda
Просмотров 8 тыс.2 года назад
AWS Systems Manager (SSM) Parameter Store and AWS Lambda
Serverless Aurora Database and AWS Lambda
Просмотров 6 тыс.2 года назад
Serverless Aurora Database and AWS Lambda
AWS Secrets Manager and Lambda
Просмотров 8 тыс.2 года назад
AWS Secrets Manager and Lambda
11 functions part two
Просмотров 302 года назад
11 functions part two
10 functions part one
Просмотров 482 года назад
10 functions part one
Serverless - DynamoDB and File Structure
Просмотров 1862 года назад
Serverless - DynamoDB and File Structure
Serverless - IAM and Plugins
Просмотров 3842 года назад
Serverless - IAM and Plugins
Serverless - API and Lambda
Просмотров 1923 года назад
Serverless - API and Lambda
An introduction to Serverless
Просмотров 3413 года назад
An introduction to Serverless
REST API Gateway - Add authentication using a Cognito authorizer
Просмотров 2,6 тыс.3 года назад
REST API Gateway - Add authentication using a Cognito authorizer
REST API Gateway - Request body validation
Просмотров 2,5 тыс.3 года назад
REST API Gateway - Request body validation
HTTP API Gateway part three - Redirect users using AWS Lambda integration
Просмотров 1,7 тыс.3 года назад
HTTP API Gateway part three - Redirect users using AWS Lambda integration
HTTP API Gateway part two - AWS Lambda integration for HTTP GET requests
Просмотров 7453 года назад
HTTP API Gateway part two - AWS Lambda integration for HTTP GET requests
HTTP API Gateway part one - AWS Lambda integration for HTTP POST requests
Просмотров 2,4 тыс.3 года назад
HTTP API Gateway part one - AWS Lambda integration for HTTP POST requests
Lambda triggers - Trigger lambda function when a file is uploaded to Amazon S3
Просмотров 1,1 тыс.3 года назад
Lambda triggers - Trigger lambda function when a file is uploaded to Amazon S3
09 nested loops
Просмотров 523 года назад
09 nested loops

Комментарии

  • @seereal6736
    @seereal6736 18 дней назад

    Thank you so much. I spent a lot of time searching Google without finding a solution, but after following your video, I finally managed to apply SSL to my website. I really appreciate your help!

    • @EndreSynnes
      @EndreSynnes 15 дней назад

      That’s great you found it helpful 😄🙌🏼

  • @RaghavGade-by5os
    @RaghavGade-by5os 21 день назад

    Don't we have to register the domain?

    • @EndreSynnes
      @EndreSynnes 20 дней назад

      Yes that’s right, I mention It as a prerequisite at 0:30 😄

    • @raghavgade2000
      @raghavgade2000 20 дней назад

      When you regiter a domain from aws, it creates hostedzone automatically^ To those who're new to all purchasing domains. It will help you out. Look in the left panel of Route53 and you can find Register Domain option.

    • @EndreSynnes
      @EndreSynnes 20 дней назад

      Yes that’s right, that way you also don’t need to manually register the name servers of your Hosted Zone with your domain prover. The reason why I didn’t register it with AWS was that it at that time were cheaper to register it elsewhere 😊

  • @gonzalomordecki2195
    @gonzalomordecki2195 24 дня назад

    Thank you so much for the valuable time you spent on this video!

    • @EndreSynnes
      @EndreSynnes 24 дня назад

      Thank you so much, I'm glad you liked It! 😄

  • @user-id5pu2gy4n
    @user-id5pu2gy4n Месяц назад

    Good tutorial, short, conceptual, and easy to understand, brother. I wonder about activating S3 static website hosting and blocking all public access. How can I set up my CloudFront to access objects in the bucket? The official documentation does not provide this scenario.

    • @EndreSynnes
      @EndreSynnes 24 дня назад

      Hi, I'm sorry for the late response. Thank you so much! 😄 Just to clarify, you have enabled the "Static website hosting" feature on tour S3 bucket and also want to use CloudFront? If this is the case, I would say that enabling the "Static website hosting" feature on the S3 bucket partially defeats the purpose of setting up CloudFront in front of your S3 bucket. This is because the content will then be available on the S3 bucket URL anyways (bypassing CloudFront all together) without you being able to restrict who can assess it. I would suggest using a private bucket (as in my video), and setting up CloudFront. You could also set up WAF (docs.aws.amazon.com/waf/latest/developerguide/cloudfront-features.html) to further limit who can assess the content. I hope this was helpful, and please let me know if I misunderstood your question 😄

  • @melissaCScom
    @melissaCScom 2 месяца назад

    Thank you for the detail! That worked. :)

    • @EndreSynnes
      @EndreSynnes Месяц назад

      I’m glad you found it helpful 😄

  • @sutthaamuttha
    @sutthaamuttha 2 месяца назад

    This video is a gem ❤

    • @EndreSynnes
      @EndreSynnes 2 месяца назад

      Thank you so much! 😄

  • @deemon710
    @deemon710 3 месяца назад

    It was surprising how simple the code is to redirect a user. I wonder is it possible to redirect a POST request, too?

    • @EndreSynnes
      @EndreSynnes 2 месяца назад

      Hi 😄 Yes It can be quite simple to do that for HTTP GET requests 🙌 Depending on your requirements, doing redirects for POST requests may not be as simple. Do you want your users to be redirected as a respons for your POST request (this can be achieved quite easily)? Or do you want the POST request itself to be redirected to another API?

    • @deemon710
      @deemon710 2 месяца назад

      @@EndreSynnes I wanted to modify the parameters they sent in their POST request and return a redirect with the updated params so they would make an updated POST request. In the end, I just did it for them and returned the response. But I'm still curious if it's possible to say 'naw, send your POST request here instead of to me. '

    • @EndreSynnes
      @EndreSynnes 2 месяца назад

      @@deemon710 I see, my initial thought is that you have to handle this on the client/front-end🤔 I’m not sure a web browser is “smart enough” to perform the same POST request to another API given a 3xx response by itself 😅 Alternatively if you control both domains for the two applications, I guess you could just point the old domain to the new application as well, using for example Route53? Then again you wouldn’t be able to manipulate the parameters before hitting the new API. Unless you intend use a lambda function (or similar) to forward the http request to the new API🙈

  • @notEpicc
    @notEpicc 3 месяца назад

    Amazing video! I'm doing a university assignment where i have to create a URL-shortener using AWS, and after watching hours of content about redirects and APIs and not understanding anything, it's amazing how simple and well-paced this video is!

    • @EndreSynnes
      @EndreSynnes 3 месяца назад

      Thank you so much!😄 That sounds like an interesting assignment, especially that you are using AWS to do that😄 Thank you, it's great to see that people find my videos helpful!

  • @gabrielmoreno8240
    @gabrielmoreno8240 3 месяца назад

    how can i do it without the "hello"

    • @EndreSynnes
      @EndreSynnes 3 месяца назад

      Hi😄 What do you mean without the “hello”? The default root object: hello.html points to the hello.html inside the S3 bucket. You can of course change this to any file you want inside your S3 bucket😊 If you don’t set a default root object in CloudFront, then your user have to specify it when accessing your website (which isn’t ideal)😅 Please let me know if I misunderstood what you meant😊

  • @supriyochatterjee4095
    @supriyochatterjee4095 3 месяца назад

    Great video, wish to see lots of videos on AWS Terraform in details with step by step explanations, please kindly make videos on AWS NETWORKING, S3,EC2, Backups, IAM Roles and everything related to AWS Infrastructure configuration and management using Terraform in details

    • @EndreSynnes
      @EndreSynnes 3 месяца назад

      Thank you so much! 😄 Thank you for the suggestions, I will look into these AWS services using Terraform in future videos 😄

  • @andybarrell26
    @andybarrell26 3 месяца назад

    I was hoping there was a way to send the message to the SQS queue without needing to know the exact SQS URL. Similar to how you can call other Lambdas without hitting the function URL when already in a Lambda.

    • @EndreSynnes
      @EndreSynnes 3 месяца назад

      Hi 😄 I would also like that, but the only way to do that (that I have seen), is to first call the "get_queue_url" function: boto3.amazonaws.com/v1/documentation/api/latest/reference/services/sqs/client/get_queue_url.html

  • @anshi_m1188
    @anshi_m1188 4 месяца назад

    I followed every step as it is, but I'm still not getting https, please help!

    • @EndreSynnes
      @EndreSynnes 3 месяца назад

      Hi 😄 I'm sorry for the late response. What do you mean you're not able to get HTTPS? Have you made use of the certificate in for example your CloudFront distribution or API Gateway?

  • @mhmaruf741
    @mhmaruf741 4 месяца назад

    Hello Endre , I have created s3 bucket and uploaded index.html file that is website , created custom url under object url, now custom url is not working , showing Not Found The requested URL was not found on this server. Additionally, a 404 Not Found error was encountered while trying to use an ErrorDocument to handle the request. Could you give me any solutions?

    • @EndreSynnes
      @EndreSynnes 3 месяца назад

      Hi, I'm sorry the late respons. Were you able to figure out the issue? It's hard for me to tell what the issue could be without seeing the configuration, but It may be some missing permissions where CloudFront can't access the S3 content. I will be publishing a new video replacing this one today (11am CET). It will among other things contain an update regarding how CloudFront access content in S3.

  • @ethandv6225
    @ethandv6225 4 месяца назад

    2 years later and this video is still extremely helpful and useful! Your style and pacing was great as well! Thanks for concise and helpful tutorial

    • @EndreSynnes
      @EndreSynnes 3 месяца назад

      Thank you so much!😄

  • @farfara1987
    @farfara1987 4 месяца назад

    short video with a big content. just great 👍 !

    • @EndreSynnes
      @EndreSynnes 4 месяца назад

      Thank you so much!😄

  • @sudheer8
    @sudheer8 4 месяца назад

    I have one qq related the redirect .. I have UI Application running on ECS and the Authentication is set in the Application using OAUTH2 .. I am accessing this application using route53 -> API Gateway -> NLB -> ALB -> ECS .. the first index page loads perfectly and then when I click login button with OAUTH2 ... authentication is successful and the OAUTH server is sending a redirect URL .. but after that second page is not loading ..its saying page cannot be found ... have you seen this issue before we have VPC Integration with API gateway and Lambda Authorizer is also enabled with API Gateway

    • @EndreSynnes
      @EndreSynnes 3 месяца назад

      Hi, I'm sorry for the late response. Thanks for the question and explanation of your setup. Still, it's kind of hard to know exactly where this can go wrong since there are a lot of services and config in play 🤔 Did you manage to figure out the issue?

  • @carloscontreraschavez4567
    @carloscontreraschavez4567 4 месяца назад

    excellent video, thank you very mutch Endre

    • @EndreSynnes
      @EndreSynnes 4 месяца назад

      Thank you so much!😄

  • @user-sf6ku9ff1e
    @user-sf6ku9ff1e 4 месяца назад

    Looks great. Can you create a service which can consume database (prefer Aurora RDS ) CRUD operations events and pass to a lambda function to trigger a notification.

    • @EndreSynnes
      @EndreSynnes 4 месяца назад

      Thank you so much!😄 I’m not sure exactly what you mean, do wonder if you can perform CRUD operations to an Aurora RDS database from a lambda function, or do you want a lambda function to somehow listen to CRUD operations against an RDS database performed by some other application? Please let me know if I misunderstood 😄

  • @uchejordy3255
    @uchejordy3255 5 месяцев назад

    Thank you Sir

  • @uchejordy3255
    @uchejordy3255 5 месяцев назад

    Thank you Sir

  • @Mangeshz
    @Mangeshz 5 месяцев назад

    million thanks man...

    • @EndreSynnes
      @EndreSynnes 5 месяцев назад

      I’m glad you found it helpful 😄

  • @vishalpathriya7986
    @vishalpathriya7986 6 месяцев назад

    How can i add SSL in multiple subdomains?

    • @EndreSynnes
      @EndreSynnes 6 месяцев назад

      Hi, I assume you mean having multiple sub domains registered to one CloudFront distribution? I haven't done that for a long time myself, but as I recall there shouldn't be any reason why you can't just add another sub-domain under "Alternate domain name (CNAME)", as long as the certificate you are using also include that sub-domain😄 Please let me know if this was unclear or if you have any issues with this 😄

  • @AmazeOnCloud
    @AmazeOnCloud 6 месяцев назад

    Super useful Endre !! It's solved my issue.

    • @EndreSynnes
      @EndreSynnes 6 месяцев назад

      Thank you so much! I'm glad it was helpful 😄

  • @user-fq3rd2ep6f
    @user-fq3rd2ep6f 6 месяцев назад

    Hi Endre, After key rotation the values comes as plain text and not showing as key value pair. I need to use the credential as key value pair at my code end. How can we achieve that??

    • @EndreSynnes
      @EndreSynnes 6 месяцев назад

      Hi 😄 I'm sorry for the late response and the confusion this implementation may have caused. As described in the example in the boto3 documentation (boto3.amazonaws.com/v1/documentation/api/latest/reference/services/secretsmanager/client/put_secret_value.html), you can just as well provide a stringified JSON object to the SecretString parameter. This way you will be able to keep the secret as a key value pair. I have created an updated version of the code (look at line 41): github.com/endre-synnes/python_aws_course/blob/4b51724e6542c0ddfe38a1d8a0609a0cbc637a5f/lambda_intro/04_secrets_and_databases_and_stuff/17_rotate_secret_UPDATED.py#L41 I hope this was helpful, and thank you for pointing it out! 🙌

  • @edwardvakhovsky891
    @edwardvakhovsky891 6 месяцев назад

    Fully followed the instructions, but it was done for the existing bucket and the site is still showing: Not Secure. I assume that some sort of record had to be deleted from the old set of records, but can't figure out which one

    • @edwardvakhovsky891
      @edwardvakhovsky891 6 месяцев назад

      Never mind. Found the answer. Needed to delete the aliased record with the domain name and recreate with the CloudFront

    • @EndreSynnes
      @EndreSynnes 6 месяцев назад

      I see, great that you figured it out 😄🙌🏼

  • @code.scourge
    @code.scourge 6 месяцев назад

    Love your videos on Serverless Framework

    • @EndreSynnes
      @EndreSynnes 6 месяцев назад

      Thank you🤩 I’m thinking about making more infrastructure as code videos in the future😄

  • @terrabyte-techy
    @terrabyte-techy 6 месяцев назад

    Thank you for the video, that was very helpful.

    • @EndreSynnes
      @EndreSynnes 6 месяцев назад

      Thank you so much! I’m glad you found it helpful😄

  • @SeunghoChun
    @SeunghoChun 6 месяцев назад

    nice instruction.

  • @lokanathpanda7187
    @lokanathpanda7187 7 месяцев назад

    Hello Sir, Sir I want to share the message the members those are present in the dynamDb table, there the phone number is available. Then please tell me what should the process that i should follow to send the message.

    • @EndreSynnes
      @EndreSynnes 6 месяцев назад

      Hi😄 Just to clarify; you have a DynamoDB table where the phone numbers are stored, and want to send SMS to each one of them?

    • @lokanathpanda7187
      @lokanathpanda7187 6 месяцев назад

      @@EndreSynnes Thank you for replying to me. Yes, I have a Dynamodb where the mobile numbers are stored. Using those numbers I want to send the Sms to those people whose details are available in the Dynamodb table. In the message I want to share some other information that is present in the Dynamodb table. For example: Hello Mr.Deo We got the subscription fee of 499 on 19/12/23. Thank you. So the above information need to be updated in the message these informations are stored in the database. Sir please tell if it is possible to do it in AWS.

  • @user-tf1iq7mr1w
    @user-tf1iq7mr1w 7 месяцев назад

    thanks

  • @paarthmanhas784
    @paarthmanhas784 7 месяцев назад

    Hey. nice video! Quick question - how long does it take for certificate to issue?

    • @EndreSynnes
      @EndreSynnes 7 месяцев назад

      Hi, thank you so much!😄 Usually it takes a few minutes (maybe 5-10), but it could also take a couple hours. If it’s not valid by now (and you have followed all the steps mentioned in the video), I would assume there is a validation issue.

  • @omarcrosby
    @omarcrosby 8 месяцев назад

    thanks for this

  • @zubairameen
    @zubairameen 8 месяцев назад

    Best tutorial ever!

    • @EndreSynnes
      @EndreSynnes 8 месяцев назад

      Thank you so much 🙌🏼😄

  • @witchestify
    @witchestify 10 месяцев назад

    hello I need help, I dont have OAI menu on my AWS :(

    • @EndreSynnes
      @EndreSynnes 9 месяцев назад

      Hi😄 Sorry for the late response, but yes you won't find OAI in the menu anymore. Since uploading this video, AWS have replaced OAI with OAC. I will create a new video using OAC sometime in the future, but for now, I recommend reading this blog post from AWS: aws.amazon.com/blogs/networking-and-content-delivery/amazon-cloudfront-introduces-origin-access-control-oac/ I hope this was helpful😄

  • @AnthonySherritt
    @AnthonySherritt 10 месяцев назад

    You've saved me hours. Please put up a way to send you Thank$

    • @EndreSynnes
      @EndreSynnes 9 месяцев назад

      Thank you so much, I will look into it!😄

  • @ffrank1323
    @ffrank1323 10 месяцев назад

    hmm seems not working with a wordpress site... unbelievable how much time you have to spend get a SSL certificate in CHATGPT-age ... thanks anyway for your video

    • @EndreSynnes
      @EndreSynnes 10 месяцев назад

      Hi😄 I see, I haven't tried it with a Wordpress site myself, but did you manage to get a valid certificate for your domain? In other words, does it say it's valid in AWS Certificate Manager? 😄

  • @stephenlflf3871
    @stephenlflf3871 10 месяцев назад

    Can I pay you to show me how to implement this on client side with java?

    • @EndreSynnes
      @EndreSynnes 10 месяцев назад

      Hi, I'm sorry for the late response. Thank you for the request, but I currently don't do freelance work. I will gladly make videos on topics that you, my viewers suggest, and I will gladly try to answer any question related to my videos here on RUclips 😄

  • @shavis4811
    @shavis4811 10 месяцев назад

    Clean and clear demo, exactly what I was looking for. Thanks much !

    • @EndreSynnes
      @EndreSynnes 10 месяцев назад

      Thank you so much! 😄

  • @piotrzajac5824
    @piotrzajac5824 10 месяцев назад

    For anyone who has problem with validation timeout: You need also to set CNAME record to hosted zone. Once the validation is triggered open details of the request and you will see columns with CNAME name and CNAME value - this needs to be added for aws for validation.

    • @EndreSynnes
      @EndreSynnes 10 месяцев назад

      Yes, as shown in the video from 4:40 and onwards 😄 You could also manually create the Hosted Zone CNAME records by copying the values from the columns CNAME name and CNAME value. This way you can validate a certificate even if the Hosted Zone isn't in the same AWS account as the certificate 😄

    • @piotrzajac5824
      @piotrzajac5824 10 месяцев назад

      @@EndreSynnes sure, but considering few people here had issues with timeouts, i suppose they had watched in the same manner as I did and forgot to set it up😅

    • @EndreSynnes
      @EndreSynnes 10 месяцев назад

      That's true, there have been some questions regarding validation issues 😅 Hopefully this thread will be helpful for some 😄

  • @piotrzajac5824
    @piotrzajac5824 11 месяцев назад

    Thanks a lot. Exactly what I needed to know. I hate bloated aws documentation.

    • @EndreSynnes
      @EndreSynnes 10 месяцев назад

      Thank you so much! 😄 Yes the documentation isn't always that good 😅

  • @ISavaXx
    @ISavaXx 11 месяцев назад

    Good job. You did everything except the laststep and you did not show if the https is working

    • @EndreSynnes
      @EndreSynnes 10 месяцев назад

      Thank you 😄 Yes you are right, I didn't make use of the domain or certificate in this video. This video was only intended to show how to deploy a hosted zone (domain) and how to create and validate a certificate for that domain. How to enable HTTPS on your applications depends on how the application is deployed. Therefore I have created separate videos on this, both for API Gateways (ruclips.net/video/JKI0td7QXTQ/видео.html) and CloudFront distributions (ruclips.net/video/M0GfSXr75iU/видео.html). Keep in mind that CloudFront have had some updates since I uploaded this video, so I will create a new one at some point. Still it's highly relevant and could be used as a guide for enabling HTTPS. I hope this was somewhat clarifying? 😄

  • @user-qq5os6xf9k
    @user-qq5os6xf9k 11 месяцев назад

    Thanks Endre, helpful video, and what I'm looking for is that can we create a queue for the files that drop to an s3 bucket, I want those files to be processed in order, as far as I know, whenever new files drop to a bucket, the attached lambda triggers the function and runs for each file separetely with files are unaware of each other (tell me if I'm wrong). For example when I upload 10 files to a bucket at the same time, I want second file to trigger lambda (or whatsoever) after the first file is completely processed and so on, is there a way to do that, all I can find is that we can use SQS to trigger lambda, but I don't think this is what I'm looking for.

    • @EndreSynnes
      @EndreSynnes 10 месяцев назад

      Sorry for the late response! Thank you so much! 😄 Well, this may be a bit complicated to answer in a RUclips comment, but I'll try 😅 There is of course several ways to solve this (also if you really need to have sequential processing), but one way could be: First to have a Lambda function that triggers on upload to S3 and only stores a record containing the filename, upload-timestamp and a status ("new_file") in a DynamoDB table. Then maybe another function that looks for the oldest files (by timestamp) with status "new_file" and starts processing it from S3. Once finished processing the file, update the DynamoDB record with status as complete. Also, it could after that look for other records with status "new_file" and send an event which trigger the processing of the next record, until all records are marked as "complete". This may not be the best solution, but It may work if I understood your use case correctly😄

  • @santoshdutt3663
    @santoshdutt3663 Год назад

    Is it possible to use multiple SNS topics with one Lambda?

    • @EndreSynnes
      @EndreSynnes Год назад

      Hi 😄 I assume you mean sending to multiple SNS topics from one Lambda function? In that case, I haven't tried that myself, but I can't see any reason why you shouldn't be able to do that. I guess you could just use the Boto3 library as I have done here, and just send to multiple SNS topics. Then again what is the use case for this? Maybe EventBridge could be an alternative, with custom rules depending on the content of each message/record?

  • @rumortrader2143
    @rumortrader2143 Год назад

    Wow your explanantions are so simple, elegant and practical! I have been searching high and low for a video to explain API Gateway to me but everything else has been a waste of time compared to this.. please tell me you have a udemy course or something!

    • @EndreSynnes
      @EndreSynnes Год назад

      Thank you so much! 🤩 I'm glad you enjoyed it 🙌 No, I haven't created any Udemy course yet, but I may look into that in the future 😄

  • @vncstudio
    @vncstudio Год назад

    Good video! Would be great if you also published the video with AWS Parameters and Secrets Lambda Extension with Secrets Manager.

    • @EndreSynnes
      @EndreSynnes Год назад

      Thank you so much! 😄 Yes, I will for sure make that video 🙌

  • @troublesum
    @troublesum Год назад

    You're a life saver, thanks

    • @EndreSynnes
      @EndreSynnes Год назад

      Thank you! I'm glad it was helpful 😄

  • @ujjwalmahar
    @ujjwalmahar Год назад

    Great

  • @wil9861
    @wil9861 Год назад

    I don’t get it . If you are not uploading anything to AWS in server.js what is getting stored in S3 when a call is sent to generateUrl()?

    • @EndreSynnes
      @EndreSynnes Год назад

      Hi 😄 I'm sorry, I don't quite understand your question? what server.js file are you thinking about and what "generateUrl" function do you mean? 😊

  • @weekendvlogger1168
    @weekendvlogger1168 Год назад

    the status is issued but still when i open the domain in my browser it shows invalid date..please help

    • @weekendvlogger1168
      @weekendvlogger1168 Год назад

      the SSL status is till expired

    • @EndreSynnes
      @EndreSynnes Год назад

      Hi 😄 Sorry for the late response. So, if I understand correctly, you have already had a certificate that has expired? Which might explain the error you get. If so, then I would guess that your application is not able to retrieve the new certificate. Let me know if this is not the case 😄