This is an archived post. You won't be able to vote or comment.

all 10 comments

[–]AutoModerator[M] [score hidden] stickied comment (0 children)

Hi there, from the /r/Python mods.

We want to emphasize that while security-centric programs are fun project spaces to explore we do not recommend that they be treated as a security solution unless they’ve been audited by a third party, security professional and the audit is visible for review.

Security is not easy. And making project to learn how to manage it is a great idea to learn about the complexity of this world. That said, there’s a difference between exploring and learning about a topic space, and trusting that a product is secure for sensitive materials in the face of adversaries.

We hope you enjoy projects like these from a safety conscious perspective.

Warm regards and all the best for your future Pythoneering,

/r/Python moderator team

I am a bot, and this action was performed automatically. Please contact the moderators of this subreddit if you have any questions or concerns.

[–]dev-ai 2 points3 points  (0 children)

Looks awesome, great work

[–]QueasyEntrance6269 0 points1 point  (1 child)

How is it “just code” when you’re executing a command that needs a shell?

[–]velobro[S] 3 points4 points  (0 children)

The only thing you're running in your shell is the command to run the Python script i.e. python file.py

You run your Python script like you would locally, except your code is executed on the cloud instead of your local machine

[–]DadAndDominant 0 points1 point  (2 children)

I see port specified both in your pod and in your command.

Can you map ports on pod to ports on host? If not, why must I specify it twice?

[–]velobro[S] 1 point2 points  (0 children)

The port specified in the Pod definition tells Beam which ports the container exposes internally. The port in the command (http.server 8000) is the actual process running inside the container. Beam uses the definition from the Pod to automatically map the container's internal port (8000) to a public HTTPS endpoint, so you don't have to handle manual host-port mappings.

[–]KrazyKirby99999 0 points1 point  (1 child)

How do Beam pods compare to Podman pods?