R
Railwayβ€’16mo ago
Jannik

Upload static files to railway service

Hey, how does it gets persisted, or does it not? should i use somethin like a bucket?
49 Replies
Percy
Percyβ€’16mo ago
Please provide your project ID or reply with N/A. Thread will automatically be closed if no reply is received within 10 minutes. You can copy your project's id by pressing Ctrl/Cmd + K -> Copy Project ID.
MantisInABox
MantisInABoxβ€’16mo ago
File storage of the container is by default ephemeral and will be deleted every time you deploy. You can use volumes now and your files will persist through deploys Or you can utilize something like S3 or R2 with Cloudflare
Jack
Jackβ€’16mo ago
Volumes require enrollment in Priority Boarding, you can enroll by interacting with @Percy with the /beta command. N/A
Jannik
Jannikβ€’16mo ago
ok then s3 it is 😦
MantisInABox
MantisInABoxβ€’16mo ago
Check our R2, it’s a bit cheaper than S3, yet still S3 compatible
Jannik
Jannikβ€’16mo ago
where do i find information about the r2? but what if i deploy a wordpress app? where does the content get stored if everything gets deleted?
MantisInABox
MantisInABoxβ€’16mo ago
You would need to sign up for priority boarding with the beta slash command and then use volumes
Jannik
Jannikβ€’16mo ago
i think volumes are fine. Btw i wrote a ticket to the support. Do you know when they get checked? I lost credits due to my mistake
Brody
Brodyβ€’16mo ago
what email did you email to?
Jannik
Jannikβ€’16mo ago
oh email only for pro users that was my content. I lost the first money πŸ˜„
Brody
Brodyβ€’16mo ago
then it wont be answered, re-send the email to [email protected], everyone can use that email for billing issues
Jannik
Jannikβ€’16mo ago
oki if i also could buy domains here πŸ˜„ i would instantly swap to that service πŸ˜„ looks cool
Brody
Brodyβ€’16mo ago
buy domains with namecheap or cloudflare
Jannik
Jannikβ€’16mo ago
whats easier?
MantisInABox
MantisInABoxβ€’16mo ago
Both are extremely easy
Jannik
Jannikβ€’16mo ago
how can you deliver this services so cheap? i would rather pay a few bucks to get me app up and running instead of buying my on vps, configuring docker etc. or is tit just that cheap nowadays? i have seen that you remove the free plan next month, i hope you dont die like heroku 😦
Jack
Jackβ€’16mo ago
Taking advantage of Google Cloud, Railway strives to be able to provide affordable pricing on a pay-for-use model. Railway just needs to remain sustainable instead of providing free services that cut out of the budget from the rest of the paying users on the platform.
Jannik
Jannikβ€’16mo ago
ok and why should i use you for my service instead of vercel? what are the benefits?
Brody
Brodyβ€’16mo ago
vercel is a completely different product? vercel for frontend, railway for backend
Jannik
Jannikβ€’16mo ago
vercel is fullstack and serverless. I can host my fullstack app there too
Brody
Brodyβ€’16mo ago
railway is not serverless
MantisInABox
MantisInABoxβ€’16mo ago
Yeah, but why use Vercel when railway exists? Serverless is just another fancy buzzword to get you to pay more for the same thing. It still fires up a server when you make a call to the function
Jannik
Jannikβ€’16mo ago
true. If there will be a limit usage feature im totally in on railway. this credit buy thing is so weired. i did it 2 time and i am still on the pay for use price all in all, nice plattform and i can see my logs instantly what about ci/cd? if i want to run some tests before railway is picking it up?
MantisInABox
MantisInABoxβ€’16mo ago
You would do CI/CD using something like GitHub actions or GitLab CI/CD and then deploy as long as everything passes
Brody
Brodyβ€’16mo ago
it will always be pay for usage, whether thats from credits or from card, is up to you
Jannik
Jannikβ€’16mo ago
but if my credits are empty it will use my card, and i and i think a lot of others dont like it that there is no limit πŸ˜„ pls bring that feature ❀️
MantisInABox
MantisInABoxβ€’16mo ago
Railway Blog
Using Github Actions with Railway
Github Actions come with a pretty neat set of features to automate your workflows. In this post, we talk about using Github Actions to automate your deployments on Railway.
Brody
Brodyβ€’16mo ago
if you are on the credit based plan, once your credits are used, your services are stopped and you wont be charged
Jannik
Jannikβ€’16mo ago
but i bought credits twice and i am still on my hobby plan which will use my credit card
Brody
Brodyβ€’16mo ago
it will always be called the hobby plan you do use your card to load credits, but railway will not load credits for you
Jannik
Jannikβ€’16mo ago
Jannik
Jannikβ€’16mo ago
so if my credits are empty,it will use my card
Brody
Brodyβ€’16mo ago
not if you are on the credit based plan
Jannik
Jannikβ€’16mo ago
where can i see that? or where can i switch to that one?
Brody
Brodyβ€’16mo ago
show me the billing section
Jannik
Jannikβ€’16mo ago
Brody
Brodyβ€’16mo ago
and what does the manage subscription page look like
Jannik
Jannikβ€’16mo ago
Jannik
Jannikβ€’16mo ago
if i cancel i lose my credits again, thats why i contacted the support
Brody
Brodyβ€’16mo ago
okay so yes the current plan you are on does mean that your card can get charged after the credits run out and i have seen this concern so many times, and i just dont understand where the worrying comes from? like do you plan on leaving for a vacation and not checking on anything? you get an email for usage warnings, so youd have to be totally offline for a while to get any large surprise bills
Jannik
Jannikβ€’16mo ago
it is just a bad feeling to know be sure that you dont wake up with minus thousands of dollars . What is so hard to put a usage limit on it? πŸ˜„
Brody
Brodyβ€’16mo ago
that would be very hard to do the cause for concern is low
Jannik
Jannikβ€’16mo ago
then how can i switch to the plan u told me?
Brody
Brodyβ€’16mo ago
i honestly would recommend agiant the credit plan, just watch your emails but to answer the question, you cancel the current plan and sign back up this time choosing the credit based plan
Jannik
Jannikβ€’16mo ago
then i lose my credits again i tried it πŸ˜„
Brody
Brodyβ€’16mo ago
yes but you signed up for the same plan lol you didnt sign up for the credit based plan
Jannik
Jannikβ€’16mo ago
let me wait until the support contacts me, i just wait for now πŸ™‚
Brody
Brodyβ€’16mo ago
might take a few days
Want results from more Discord servers?
Add your server