Location>code7788 >text

Sealos Devbox Released, Love Life, Stay Away from CI/CD

Popularity:963 ℃/2024-10-09 12:59:23

The water droplets attacked the solar system using the most primitive form of attack: impact! And yet it is so efficient.

After we've messed around with a bunch of containers, orchestration, CI/CD, DevOps, and invented a bunch of terms that don't do much good, we end up realizing that all of these operations are just bells and whistles that get developers deeper and deeper in the hole.

Eventually you will realize a truth:It turns out that ten or twenty years ago changing code directly on the line was the most efficient way to do it! Don't refute it yet, watch me break it down.

Here on the line is not to say that the production environment, but the development environment, all environments are on the line, through the local IDE to link, and at the same time to achieve the development environment to the production environment of the security of synchronization, the process-oriented inefficiency of all things to cut out, directly oriented to the results, which is the most efficient way, there is no one.

Sealos Devbox It is such an ultimate efficiency tool that will put you out of your misery.

Developer's pain

As a developer, do you suffer from the following problems:

  • Three minutes of coding and three hours of solving dependencies?
  • Painful to set up an environment?
  • Complicated database configuration for development dependencies?
  • It's tempting to write code, but thinking about all the other things that are messing with it triggers direct procrastination?
  • Lack of a suitable test environment?
  • When coupling with other members, self-testing is fine, and then debugging for days once docked?
  • Cumbersome on-line deployment process?
  • Configuring servers, domain certificates and other technical details a headache?
  • You don't know how to write a Dockerfile, you don't know anything about K8s, you don't want to write it, you don't want to compile it, you don't want to push it, and you don't want to go live after you push it.
  • CI/CD using 666, but pipeline, K8s yaml already written?

If you've experienced any of these problems, then Devbox is the solution for you.

Devbox completely and utterly helps you with everything except writing code (Yes, you heard me right. All of them.) Question!

There are two kinds of developers: those who know Docker (K8s) and those who do not.

But there is one thing that everyone has in common: theWant to get the benefits of containers, but really don't want to write Dockerfile and K8s yaml or care about that stuff.

Devbox can be done in such a way that all development is completely unconcerned, with an emphasis on "completely", that is to sayYou don't even know how to spell K8s and yet you get all the benefits of it!The most important thing is that you have to be able to get the best out of it. This 0 cost brings benefits, I'm sure you want to know what he is.

At the same time, Devbox works perfectly with Cursor, where Cursor solves auxiliary coding issues and Devbox solves all environment and dependency issues.

Look at the product first

Sealos Address:

The first step is to create the development environment:

Here pick a runtime you want, such as various programming languages and programming frameworks, and open the network will automatically assign a second-level domain name for you to test.

The second step is to use the VS Code plugin or the Cursor plugin to work directly in the IDE you are familiar with, and we will support more IDE plugins in the future:

You can use the IDE plugin, or you can just open Code Server and write code in the browser. And then there's no more.

Used through IDE plug-ins

Clicking on the Cursor plugin on the web page for the first time will wake up the Cursor plugin page, and you can start using it after installing the plugin. This eliminates the need for developers to switch between the web and the IDE.

It is also possible to create projects on the plugin side (this feature is in the process of being implemented):

Then you can have fun writing the code. You can see the network access information as well as the database information on the Terminal side.

Core Advantages of Devbox

Sealos Cloud development has been online for a long time and has a very large number of customers. We have been operating for some time and have summarized some of the limitations and advantages of cloud development:

Limitations:

  1. Development on the web is not a priority, developers are still accustomed to local IDEs, and heavy users still choose plug-ins for development.
  2. It is not compatible with all programming languages and programming frameworks and is bound to cut.

Advantage:

  1. It does solve everything except writing code, which is written and ready to go live, as easy as posting a blog, and without having to think about the environment and dependencies.

So we tried to make a more generalized and efficient application to solve all the development problems.

Zero fragmentation with developers' existing development methods

Now there are a lot of similar products on the market, to byte Marscode for example, in-depth understanding of the product you will find that Marscode is very important to the Web IDE, spent a heavy effort to do, but unfortunately, theGoing down the wrong path is the equivalent of competing with the extremely good VS Code and the whole Jetbrains family of buckets, and it's a pain in the ass!Although Marscode also has a VS Code plugin, it's much weaker. Although Marscode also has a VS Code plugin, it's much weaker, almost only Copilot.

What Marscode does well: for example, it makes Templates for all kinds of things that developers need, and it can assign domain names to projects. Defects are also very obvious, you will find when you use it always feel a lot less interesting:

  1. What about my database? And the environment is in the cloud, even my local database is not well connected, the equivalent of giving a half-baked.
  2. I write code that eventually goes live, and then I go live and face the hassle of getting up a virtual machine and a whole bunch of other things.
  3. How do I collaborate? How do teams develop together?

Devbox's approach:

  1. Heavy IDE plugin that lets you write code exactly the same way as before.
  2. All your dependencies are put in the cloud, to solve all the dependency problems, so that three birds with one stone, to solve your development problems, to solve the development is completed to send a version of the problem to go online, to solve the problem of collaboration with other members of your team.
  3. Package the environment as a whole and release it to run without you knowing anything about containers at all.

This is something that can only be perfected with a powerful cloud operating system called Sealos, otherwise it's always a close call.

Support for all major programming languages and frameworks

In terms of programming languages, all mainstream programming languages are fully supported, and other cold programming languages can be installed on their own. Programming frameworks include Vue, React, Gin, Spring, Django, etc. Click to use directly. Even we put the mainstream open source projects are packaged so that developers do not have to build the development environment.

Automated Release and Deployment

The underlying mechanism of Devbox's releases is to build Docker images, but there's a very big feature of the100% user-agnostic, only requires the user to fill in a version number information

The average developer user is always a huge chasm away from cloud-native, is the process of containerization, now there are many tools to help users through the code to automatically generate Dockerfile and orchestration files, you will find that the success rate is always a problem, theBut any changes that need to be made require the user to be familiar with Docker, and even if you are, I don't think you want to do that.

Devbox guarantees 100% successful builds, and 100% user agnosticism.

Auto-Online

Because Docker images are built automatically, it's possible to completely synchronize to your online environment's workspace at the click of a button, completing the go-live, and making the go-live of all projects as easy as posting a blog.

Teamwork

Imagine a typical scenario: front-end and back-end development, the development process are on their own computers, so the first set of APIs, and then develop their own development, development is complete and then go to the server to find the back-end deployed on the front-end with the co-ordination of this is very time-consuming and labor-intensive.

With Devbox, you can do it all directly in the cloud, with an inherently interoperable development environment.

Simply pull all project members into a workspace and share.

Enterprises will be more complex, usually a project team of a dozen or even dozens of people, hundreds of microservices, then the cost of coordinating the environment to become a huge high incomparable, if they all collaborate in the cloud, you can reduce the cost of this piece of collaboration almost to the collar.

prices

The price is different in different available areas, take Hangzhou as an example, the price of 2 core 4G 24 hours is 2.67 yuan, with 8 hours of coding per day, five days a week, 4 weeks a month to calculate the cost of a month is:(2.67/24)*8*5*4 = $17.8/monthI'm a special forces programmer. Writing 8 hours a day is already a special forces programmer.

future planning

devbox aims to solve development problems one step at a time:

  • v1.0: Solves all problems except writing code, and integrates with Copilot for partially automated coding.
  • v2.0: Introducing Copilot to assist debugging, because Devbox has a complete debugging environment, you can throw the error information to the AI for code debugging, and return the correct code, which can greatly reduce the cost of debugging developers.
  • v3.0The Devbot is an AI development assistant that does its own coding and testing, submits PRs to code repositories, and does its own coding and testing entirely on its own in Sealos, collaborating with you as if it were one of your coworkers.

Q & A

Q:According to the price of your public cloud, is this development cost too high, and does it increase the cost to add another development environment when you only need a production environment?

A: Two situations :

  1. You're a personal user, then you can just use the development environment as production, as it usually doesn't need to be that rigorous.
  2. If you are an enterprise, enterprise application production costs are much greater than the cost of development, development costs are negligible, in addition to the value of R & D efficiency and collaboration efficiency to the enterprise is much higher than the cost of this point.

(not only ...) but alsoDevelopment environments can be turned off completely when not writing codeThe price of a day's code is only $0.89. According to our billing, it will cost you only $0.89 for a day of writing code.

Q: Can Devbox completely replace Sealos cloud development?

A: Yes, you can choose the template when you create the project, and it's more flexible, no different from running it in a virtual machine, and it has all the benefits of cloud development, except that it doesn't provide a Web IDE, first of all, we don't think that Web IDE is important and it's not separated from the existing habits of the developers, and secondly, if you really don't want to install the IDE, that's okay, Devbox provides Code Server, which can be used to develop on the web directly. Devbox provides Code Server to develop directly on the web page.