๋ณธ๋ฌธ ๋ฐ”๋กœ๊ฐ€๊ธฐ
์›น๊ณต๋ทฐ

firebase deploy ์‹œ, ์š”๊ธˆ์ œ ์ˆ˜์ •ํ•˜๋ผ๋Š” ์˜ค๋ฅ˜ ๋ฉ”์‹œ์ง€

by ์ด๋…ธํ‚ค_ 2022. 3. 23.

firebase ์‚ฌ์šฉ์‹œ, ํ˜ธ์ŠคํŒ…์„ ์œ„ํ•ด deploy๋ฅผ ํ•œ ๊ฒฝ์šฐ ๋ฐœ์ƒํ•œ ๋ฌธ์ œ์˜€๋‹ค. 

Your project "xxx" must be on the Blaze (pay-as-you-go) plan to complete this command.

 

ํ˜„์žฌ ๋‚ด๊ฐ€ ๋งŒ๋“  ํ”„๋กœ์ ํŠธ์˜ ์š”๊ธˆ์ œ๋Š” spark๋กœ ๋ฌด๋ฃŒ ์š”๊ธˆ์ œ Firebase Pricing (google.com) ์˜€๋‹ค.

deploy ์Šคํ…์ค‘ ๋ฌธ์ œ๊ฐ€ ์ƒ๊ฒผ๋˜ ๋ถ€๋ถ„์€ "functions" ๋ถ€๋ถ„์ด์—ˆ๊ณ , ์ด ๊ธฐ๋Šฅ์€ spark ์š”๊ธˆ์ œ์—์„œ๋Š” ์ง€์›ํ•˜์ง€ ์•Š๋Š” ๊ธฐ๋Šฅ์ด์—ˆ๋‹ค. 

์™ผ์ชฝ์€ spark, ์˜ค๋ฅธ์ชฝ์€ blaze

firebase init์„ ์ƒˆ๋กœํ•˜๊ณ  feature๋ฅผ ๋‹ค์Œ๊ณผ ๊ฐ™์ด ์„ ํƒํ•œ ๋’ค, ๋‹ค์‹œ deploy๋ฅผ ์‹คํ–‰ํ•˜๋‹ˆ ์ •์ƒ ์ž‘๋™ํ•˜์˜€๋‹ค. 

functions ๊ธฐ๋Šฅ์„ ์„ ํƒํ•˜์ง€ ์•Š๊ณ  ํ”„๋กœ์ ํŠธ๋ฅผ ์„ค์ •ํ•˜์˜€๋‹ค. 

๋Œ“๊ธ€