From the course: Rust LLMOps
Unlock this course with a free trial
Join today to access over 24,700 courses taught by industry experts.
Rust Cargo Lambda, part 3 - Rust Tutorial
From the course: Rust LLMOps
Rust Cargo Lambda, part 3
- [Instructor] So what I'm going to do next here is deploy this thing. Now to do that, let's just follow the instructions. So what does it say, you can build it, so let's go ahead and build a release here. So again, I'm not sure why I can't copy/paste, but who cares? We'll do cargo lambda build --release. Yeah, looks good. Now this is pretty cool that I can use the ARM64, which you know is awesome because it's going to save me money. I think that is actually a pretty cool one. In fact, why don't I just do that. Wait till the build happens and I'll do it again. I guess what I would need to do is do a Cargo clean, or even I could remove the target directory, actually, if I want to get really brutal. I can just say rm-rf target, and then I can do up arrow here and we can say --arm64. So why not? Let's target Graviton because it saves us money. Who doesn't like saving money? Get this thing cooking here. Okay, so now that we've done that, we need to now push it to Lambda to AWS, so we just…