• 3 Posts
  • 88 Comments
Joined 2 years ago
cake
Cake day: June 12th, 2023

help-circle

  • Having yt-dlp save the videos to S3 will just add to your costs - what benefit will it provide to your users to get the file from S3 compared to Youtube?

    While ‘cloud computing’ is managing servers in the cloud like EC2, they’re still just servers like you’d run in your lab. To do it the ‘cloud way’, use the cloud services instead.

    My suggestion would be a price checker - create a webpage maybe with S3 or Lightsail where users can enter in a URL for a product, an email address and a scrape recurrence time like 24hours, then have Lambda scrape the page & email the price to the user on that schedule. Use DynamoDB (or a relational DB like Postgresql) to save the results, schedule, etc.

    Try not to use EC2 at all if possible. Or instead of EC2, use EKS if scraping with Lambda is too difficult.

    The most important thing is getting the security right, from your access to AWS to ensuring your database isn’t easily downloaded by just anyone.



















  • bravemonkeytoraspberrypi@lemmy.mlRDP stopped working
    link
    fedilink
    arrow-up
    4
    ·
    edit-2
    5 months ago

    From the Windows side (assuming you’re using Windows to connect, considering it’s RDP and not VNC), you can open PowerShell and test to see if the Raspberry Pi is even listening for RDP connections with:

    Test-NetConnection x.x.x.x -port 3389

    Replace x.x.x.x with the IP address of the Raspberry Pi. If it shows successful, then the Raspberry Pi is listening for RDP connections.

    Do you know what RDP package you installed, and what operating system you’re running (Bookworm, Bullseye, etc)? I don’t have a raspberry pi with a desktop to test on, but if you’re using xrdp you could try:

    sudo systemctl status xrdp

    Does this give any input? If not, then you’ll need to know what package you installed to get RDP, assuming one is still installed even. If it does give you a message it might be a hint as to why it’s not working.

    If you get output from the above command you can also try:

    sudo journalctl -b | grep -C 2 xrdp

    There are much better ways of searching journalctl but I’m a noob too. The -b returns only errors from the last boot time, the -C returns that many lines before and after a match is found.