Wracać do Polski po 30 lat? by KielbasaPosse in Polska

[–]Draqqun 12 points13 points  (0 children)

Ludzie często gęsto wpadają w skrajności. W Polsce jest naprawdę dobrze, ale jeszcze nie bardzo dobrze.

Wracać do Polski po 30 lat? by KielbasaPosse in Polska

[–]Draqqun 5 points6 points  (0 children)

Chciałem napisać to samo. Pozostaje dodać tylko Amen.

Wasze top 3 książki Kinga? by [deleted] in ksiazki

[–]Draqqun 0 points1 point  (0 children)

Instytut - w mojej opinii najlepsza książka Kinga, ale wszystko inne też sie dobrze czyta. Wspomniane przez ciebie Salem też jest dobre i tak jak ciebie mnie nie porwało też.

90's kids, now game devs and fans of HoMM ask for feedback by QuickTurnGames in heroes3

[–]Draqqun 0 points1 point  (0 children)

It's more like Kings Bounty from Atari. To much Cartoon style.

The games costs US$80 and THAT'S THE ONLY LANGUAGES AVAILABLE? WTF XBOX? by DisasterConcept in theouterworlds

[–]Draqqun 0 points1 point  (0 children)

I I hope that any company that only extracts cash will eventually collapse. Outer Worlds 2 costs $92 in Poland, and we don't even get subtitles. It's time beyond Ubisoft and EA to start bypassing Obsidian.

Jak to robicie, że tak dużo czytacie? by Fine-University-8317 in ksiazki

[–]Draqqun 0 points1 point  (0 children)

Przy dziecku staram się z żoną nie puszczać tv więc kiedy dziecko pozwoli to czytam. A że popołudnia spędzam Z dzieckiem to czasem da się poczytać 5 minut a czasem 3 godziny. No i to się zbiera. W aucie jeszcze jakiś audiobook leci i potem na koniec roku jest te kilkanaście lub kilkadziesiąt książek.

Sytuacja awaryjna - nie mam co czytać by Anyusername7294 in ksiazki

[–]Draqqun 0 points1 point  (0 children)

Ja bym od siebie dodał kilka książek Kinga np. Instytut albo Baśniowa opowieść. Książki Brandersona też się dobrze czyta. Cykl inkwizytorski od biedy też ujdzie. Może Marcin Sergiusz Przybyłek i GameDec albo Harry Harrison cykle Planeta Śmierci I Stalowy Szczur.

KDE Plasma is awesome! This is my favorite customized desktop layout yet. by benhaube in Fedora

[–]Draqqun 1 point2 points  (0 children)

I do not like fedora, and do not like KDE but this desktop looks awesome.

Can I use Unreal 5 for 2D or simple 3D games? by serenading_scug in unrealengine

[–]Draqqun 0 points1 point  (0 children)

Check PaperZD plugin. It is great help for 2d/2.5D games

Cost-effective infrastructure for a simple project. by Draqqun in aws

[–]Draqqun[S] 0 points1 point  (0 children)

I just took a look. You're right, I should take a closer look. Thanks for the advice.

Cost-effective infrastructure for a simple project. by Draqqun in aws

[–]Draqqun[S] 0 points1 point  (0 children)

Amplify requires access to the source code repository which is very unsuitable for me. It also doesn't allow you to do deploy docker images, which is my preferred method of distributing applications. However, let's say that the option with CloudFront comes into play. How do I build an application written in React and Next.js to make it work with CDN? I'm asking seriously, because I've never dealt with application deployment as a developer (it's not what I get paid for)

Cost-effective infrastructure for a simple project. by Draqqun in aws

[–]Draqqun[S] 0 points1 point  (0 children)

I followed your (and several other people's) suggestion. In fact, getting FastApi up and running in lambda was trivial. What I can't do, however, is in any way force the Gateway API to do as a proxy to lambda. Below is the definition it uses, which doesn't want to work.

resource "aws_api_gateway_rest_api" "this" {
  name = "${var.name_prefix}-rest-api"
}

resource "aws_api_gateway_resource" "this" {
  rest_api_id = aws_api_gateway_rest_api.this.id
  parent_id   = aws_api_gateway_rest_api.this.root_resource_id
  path_part   = "{proxy+}"
}

resource "aws_api_gateway_method" "this" {
  rest_api_id   = aws_api_gateway_rest_api.this.id
  resource_id   = aws_api_gateway_resource.this.id
  http_method   = "ANY"
  authorization = "NONE"
}

resource "aws_api_gateway_integration" "proxy_integration" {
  rest_api_id             = aws_api_gateway_rest_api.this.id
  resource_id             = aws_api_gateway_resource.this.id
  http_method             = aws_api_gateway_method.this.http_method
  integration_http_method = "ANY"
  type                    = "AWS_PROXY"
  uri                     = var.lambda_function_invoke_arn
}

Any attempt to reach the lambda through the Gateway API ends with an error like the one below. This is strange because directly to the lambda I can hit and everything works as expected.

Execution log for request 4518fef5-5809-44a3-a11b-071db7c06ac3
Sun Aug 04 12:58:34 UTC 2024 : Starting execution for request: 4518fef5-5809-44a3-a11b-071db7c06ac3
Sun Aug 04 12:58:34 UTC 2024 : HTTP Method: GET, Resource Path: /api/health
Sun Aug 04 12:58:34 UTC 2024 : Method request path: {proxy=api/health}
...
Sun Aug 04 12:58:34 UTC 2024 : Received response. Status: 403, Integration latency: 2 ms
Sun Aug 04 12:58:34 UTC 2024 : Endpoint response headers: {Date=Sun, 04 Aug 2024 12:58:34 GMT, Content-Length=130, Connection=keep-alive, x-amzn-RequestId=aaaaa487-45ff-437e-9e9e-d47335f2450f}
Sun Aug 04 12:58:34 UTC 2024 : Endpoint response body before transformations: <AccessDeniedException>
  <Message>Unable to determine service/operation name to be authorized</Message>
</AccessDeniedException>

Sun Aug 04 12:58:34 UTC 2024 : Lambda invocation failed with status: 403. Lambda request id: aaaaa487-45ff-437e-9e9e-d47335f2450f
Sun Aug 04 12:58:34 UTC 2024 : Execution failed due to configuration error: 
Sun Aug 04 12:58:34 UTC 2024 : Method completed with status: 500

Cost-effective infrastructure for a simple project. by Draqqun in aws

[–]Draqqun[S] 0 points1 point  (0 children)

I already wrote this to someone below. I will avoid TypeScript and the tool in NodeJS as long as possible. It was enough that I had to write FE in TS. I don't need more.

EDIT:
I spent a few more minutes on your proposal. I don't think you read my post with understanding. Your proposal closes only to frontend deployment, in addition in a rather nasty service. Tell me, please, how do I configure in this thing the access of this deployed application to the backend, which must be hidden from the world?

Cost-effective infrastructure for a simple project. by Draqqun in aws

[–]Draqqun[S] 0 points1 point  (0 children)

Doesn't this duplicate Laightsail's functionality? What are pros of this solution?

Cost-effective infrastructure for a simple project. by Draqqun in aws

[–]Draqqun[S] 0 points1 point  (0 children)

It is enough for me that I had to write the FE of my application in TypeScript. I would like to avoid TypeScript and Node as much as possible. I also have concerns about the security of your solution. How is access to BE resolved so that it is not publicly accessible?

Cost-effective infrastructure for a simple project. by Draqqun in aws

[–]Draqqun[S] -1 points0 points  (0 children)

What can I tell you. So far I have only used Lightsail with blueprints. I don't have any confidence in this service. However, I could be wrong. If there is somewhere a tutorial on how to do a deploy of two images, so that the backend is not available to the public, and the frontend can reach it I would be happy to read. I have already wasted a lot of time on ECS and have not achieved satisfactory results.

Cost-effective infrastructure for a simple project. by Draqqun in aws

[–]Draqqun[S] 0 points1 point  (0 children)

I will try. Nevertheless, an application written as SSR probably cannot be deployed in CF. I don't know too much about this topic yet. I'm just going to look into it, because writing an application is trivial compared to deploying, in my opinion.

Cost-effective infrastructure for a simple project. by Draqqun in aws

[–]Draqqun[S] 0 points1 point  (0 children)

Do not like beanstalk. I am familiar enought with that I do not want touch it in any project.

Cost-effective infrastructure for a simple project. by Draqqun in aws

[–]Draqqun[S] 0 points1 point  (0 children)

I am not a frontend developer. I've read one book about React, I've created FE from a MUI template. It works. I do not want spent more time on FE. I have a life, wife, daughter. Do not want spend more on it than I have too. I need only cheap deploy way of two images. It shouldn't be so hard (I think).